@@ -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