|
@@ -1,13 +1,13 @@
|
|
|
package jy
|
|
|
|
|
|
import (
|
|
|
+ "app.yhyue.com/moapp/jybase/go-xweb/httpsession"
|
|
|
"fmt"
|
|
|
"log"
|
|
|
"strings"
|
|
|
"time"
|
|
|
|
|
|
qutil "app.yhyue.com/moapp/jybase/common"
|
|
|
- "app.yhyue.com/moapp/jybase/go-xweb/httpsession"
|
|
|
m "app.yhyue.com/moapp/jybase/mongodb"
|
|
|
"app.yhyue.com/moapp/jybase/mysql"
|
|
|
"app.yhyue.com/moapp/jybase/redis"
|
|
@@ -141,7 +141,10 @@ func ClearBigVipUserPower(userId string) bool {
|
|
|
|
|
|
// 获取大会员个人基本信息
|
|
|
func GetBigVipUserBaseMsg(session *httpsession.Session, middleground middleground.Middleground) *BigVipBaseMsg {
|
|
|
- sessVal := session.GetMultiple()
|
|
|
+ return GetBigVipUserBaseMsgBySessVal(session.GetMultiple(), middleground)
|
|
|
+}
|
|
|
+
|
|
|
+func GetBigVipUserBaseMsgBySessVal(sessVal map[string]interface{}, middleground middleground.Middleground) *BigVipBaseMsg {
|
|
|
baseUserId := qutil.Int64All(sessVal["base_user_id"])
|
|
|
entId := qutil.Int64All(sessVal["entId"])
|
|
|
positionType := qutil.Int64All(sessVal["positionType"])
|