WH01243 2 years ago
parent
commit
c01122aadc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      common/src/qfw/util/jy/bigVipPower.go

+ 2 - 2
common/src/qfw/util/jy/bigVipPower.go

@@ -156,8 +156,8 @@ func GetBigVipUserBaseMsg(session *httpsession.Session, middleground middlegroun
 	data := middleground.PowerCheckCenter.Check("10000", userId, baseUserId, accountId, entId, positionType, positionId)
 	if data != nil {
 		power := make(map[int]bool)
-		for k, _ := range data.Member.MemberPowerList {
-			power[k] = true
+		for _, v := range data.Member.MemberPowerList {
+			power[qutil.IntAll(v)] = true
 		}
 		userPower = BigVipBaseMsg{
 			Status:       qutil.IntAll(data.Member.Status),    //大会员状态