Parcourir la source

feat:免费用户

wangshan il y a 2 ans
Parent
commit
e61a34c224
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      entity/user.go

+ 2 - 2
entity/user.go

@@ -122,11 +122,11 @@ func (m *WorkDesktopMenu) AutoUserPowerInfo() map[string]int {
 					entnichePower = MC.IntAll(entNicheInfo["role_id"]) == 1
 					//商机管理
 					if MC.IntAll(entNicheInfo["status"]) == 1 && MC.IntAll(entNicheInfo["power"]) == 1 {
-						isFree = false
 						//商机管理服务 P259需求
+						//有商机管理服务 不会再有商机管理订阅菜单
 						switch MC.IntAll(entNicheInfo["power_source"]) {
 						case 0:
-							//有商机管理服务 不会再有商机管理订阅菜单
+							isFree = false
 							switch MC.IntAll(entNicheInfo["isNew"]) {
 							case 1: //新版商机管理
 								UserPowerMap["110"] = 1