浏览代码

feat:权限处理

wangshan 1 年之前
父节点
当前提交
4e180301ce
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/src/qfw/util/jy/bigVipPower.go

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

@@ -155,7 +155,7 @@ func GetBigVipUserBaseMsg(session *httpsession.Session, middleground middlegroun
 		pccUserId = qutil.ObjToString(sessVal["mgoUserId"])
 	}
 	log.Println("userId:", pccUserId, "-baseUserId:", baseUserId, "-accountId:", accountId, "-entId:", entId, "-positionType:", positionType, "-positionId:", positionId)
-	data := middleground.PowerCheckCenter.Check("10000", userId, baseUserId, accountId, entId, positionType, positionId)
+	data := middleground.PowerCheckCenter.Check("10000", pccUserId, baseUserId, accountId, entId, positionType, positionId)
 	userPower := BigVipBaseMsg{}
 	if data != nil {
 		power := make(map[int]bool)