|
@@ -78,7 +78,6 @@ func AutoUserPowerInfo(userId, appId string, internalTime int, bigMemberOff bool
|
|
|
continue
|
|
|
}
|
|
|
//entNicheInfo := (*entNicheInfos)[0]
|
|
|
- UserPowerMap["100"] = 1
|
|
|
switch MC.IntAll(entNicheInfo["isNew"]) {
|
|
|
case 1: //新版商机管理
|
|
|
UserPowerMap["110"] = 1
|
|
@@ -89,6 +88,7 @@ func AutoUserPowerInfo(userId, appId string, internalTime int, bigMemberOff bool
|
|
|
UserPowerMap["112"] = 1
|
|
|
}
|
|
|
case 0: //老版商机管理
|
|
|
+ UserPowerMap["100"] = 1
|
|
|
switch MC.IntAll(entNicheInfo["role_id"]) {
|
|
|
case 1: //部门管理员
|
|
|
UserPowerMap["101"] = 1
|