|
@@ -48,8 +48,9 @@ type BigVipBaseMsg struct {
|
|
|
FreeBuyerPort int `json:"freeBuyerPort"`
|
|
|
FreeFile int `json:"freeFile"`
|
|
|
FreeHasKey bool `json:"freeHasKey"`
|
|
|
- StartTime int64 `json:"startTime"` //开始时间戳
|
|
|
- EndTime int64 `json:"endTime"` //结束时间戳
|
|
|
+ StartTime int64 `json:"startTime"` //开始时间戳
|
|
|
+ EndTime int64 `json:"endTime"` //结束时间戳
|
|
|
+ EntSubscribe int64 `json:"entSubscribe"` // 是否有企业订阅权限;0:否 1:是
|
|
|
Data *pb.CheckResp
|
|
|
}
|
|
|
|
|
@@ -195,6 +196,7 @@ func GetBigVipUserBaseMsg(session *httpsession.Session, middleground middlegroun
|
|
|
FreeHasKey: data.Free.FreeHasKey,
|
|
|
StartTime: data.Member.StartTime,
|
|
|
EndTime: data.Member.EndTime,
|
|
|
+ EntSubscribe: data.Ent.EntSubscribe,
|
|
|
}
|
|
|
if entId > 0 {
|
|
|
userPower.EntInfo[qutil.IntAll(entId)] = &EntInfoStruct{
|
|
@@ -252,7 +254,7 @@ func (this *BigVipBaseMsg) GetUseId() string {
|
|
|
return this.Uid
|
|
|
}
|
|
|
|
|
|
-//根据userid获取用户基本信息
|
|
|
+// 根据userid获取用户基本信息
|
|
|
func GetInfoForBaseUser(mgo m.MongodbSim, userid string) *userCenterBp.UserIdReq {
|
|
|
if userid == "" {
|
|
|
return nil
|