|
@@ -2,6 +2,7 @@ package jy
|
|
|
|
|
|
import (
|
|
|
qutil "app.yhyue.com/moapp/jybase/common"
|
|
|
+ "app.yhyue.com/moapp/jybase/go-xweb/httpsession"
|
|
|
. "app.yhyue.com/moapp/jybase/mongodb"
|
|
|
"app.yhyue.com/moapp/jybase/mysql"
|
|
|
"app.yhyue.com/moapp/jybase/redis"
|
|
@@ -145,7 +146,11 @@ func GetEntnicheState(userId string, mysql *mysql.Mysql, mg MongodbSim) *BigVipB
|
|
|
}
|
|
|
|
|
|
// 获取大会员个人基本信息
|
|
|
-func GetBigVipUserBaseMsg(appid, userId string, baseUserId, accountId, entId int64, host, key string) *BigVipBaseMsg {
|
|
|
+func GetBigVipUserBaseMsg(appid string, session *httpsession.Session, host, key string) *BigVipBaseMsg {
|
|
|
+ userId := qutil.ObjToString(session.Get("userId"))
|
|
|
+ baseUserId := qutil.Int64All(session.Get("base_user_id"))
|
|
|
+ entId := qutil.Int64All(session.Get("entId"))
|
|
|
+ accountId := qutil.Int64All(session.Get("accountId"))
|
|
|
userPower := BigVipBaseMsg{}
|
|
|
data := Check(appid, userId, baseUserId, accountId, entId, host, key)
|
|
|
if data != nil {
|