WH01243 %!s(int64=2) %!d(string=hai) anos
pai
achega
c01122aadc
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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),    //大会员状态