|
@@ -154,13 +154,13 @@ func GetBigVipUserBaseMsg(session *httpsession.Session, middleground middlegroun
|
|
|
accountId := qutil.Int64All(session.Get("accountId"))
|
|
|
positionId := qutil.Int64All(session.Get("positionId"))
|
|
|
userPower := BigVipBaseMsg{}
|
|
|
- log.Println("userId:", userId, "-baseUserId:", baseUserId, "-accountId:", accountId, "-entId:", entId, "-positionType:", positionType, "-baseUserId:", baseUserId, "-accountId:", accountId, "-entId:", entId, "-positionType:", positionType, "-positionId:", positionId)
|
|
|
- data := middleground.PowerCheckCenter.Check("10000", userId, baseUserId, accountId, entId, positionType, positionId)
|
|
|
if positionType == 0 {
|
|
|
userId = qutil.InterfaceToStr(session.Get("userId"))
|
|
|
} else {
|
|
|
userId = qutil.InterfaceToStr(session.Get("mgoUserId"))
|
|
|
}
|
|
|
+ log.Println("userId:", userId, "-baseUserId:", baseUserId, "-accountId:", accountId, "-entId:", entId, "-positionType:", positionType, "-baseUserId:", baseUserId, "-accountId:", accountId, "-entId:", entId, "-positionType:", positionType, "-positionId:", positionId)
|
|
|
+ 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 {
|