wangshan 2 anni fa
parent
commit
ba1f055368
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      entity/user.go

+ 3 - 0
entity/user.go

@@ -107,6 +107,9 @@ func (m *WorkDesktopMenu) AutoUserPowerInfo() map[string]int {
 			}
 			UserPowerMap["200"] = int(vip.Status)
 			UserPowerMap["201"] = int(vip.Upgrade)
+			if vip.Upgrade > 0 && member.Status < 1 {
+				UserPowerMap["202"] = int(vip.Status)
+			}
 		}
 		//企业信息
 		if m.EntId > 0 {