Ver código fonte

Merge branch 'dev/v1.2.17_wh' of BaseService/userCenter into feature/v1.2.17

王浩 2 anos atrás
pai
commit
00fdfd83bc
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      entity/user.go

+ 1 - 1
entity/user.go

@@ -238,7 +238,7 @@ func (m *WorkDesktopMenu) AutoUserPowerInfo() map[string]int {
 	//其他权益数据库查询
 	func(mgoUserId string) {
 		//伙伴计划是否加入(移动端我的伙伴计划菜单)
-		if count := Mysql.CountBySql(`select count(*) from dis_partner where uid=? and type!=3`, mgoUserId); count > 0 {
+		if count := Mysql.CountBySql(`select count(*) from dis_partner where uid=? and type=2`, mgoUserId); count > 0 {
 			UserPowerMap["801"] = 1
 		} else {
 			UserPowerMap["800"] = 1