Browse Source

feat:商机管理用户

wangshan 2 years ago
parent
commit
0f8e12ba4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      entity/user.go

+ 1 - 1
entity/user.go

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