@@ -63,7 +63,7 @@ func (s *switchService) GetEntniche(session *httpsession.Session, middleground m
}*/
entniche := data.Data.Entniche.Status > 0
//有商机管理服务的用户 就不是商机管理用户 逻辑同isadd中商机管理用户状态判断
- if isEntService = data.Ent.PowerSource > 0 && data.Entniche.IsEntPower > 0; isEntService {
+ if isEntService := data.Data.Ent.PowerSource > 0 && data.Data.Entniche.IsEntPower > 0; isEntService {
entniche = false
}
if data != nil {