|
@@ -41,7 +41,7 @@ func (this *SubscribeChange) GetSubBuyMsg() {
|
|
|
r := func() *entity.FuncResult {
|
|
|
ent_id := qutil.IntAll(this.GetSession("entId"))
|
|
|
entUserId := qutil.IntAll(this.GetSession("entUserId"))
|
|
|
- rData, buyset, vip := entity.JyVipSubStruct.GetVipDetail(this.Session().GetMultiple())
|
|
|
+ rData, buyset, vip := entity.JyVipSubStruct.GetVipDetail(userId)
|
|
|
if rData == nil || len(*rData) == 0 {
|
|
|
return &entity.FuncResult{false, errors.New("获取信息失败"), nil}
|
|
|
}
|
|
@@ -112,7 +112,7 @@ func (this *SubscribeChange) SaveChange() {
|
|
|
if len(industry) == 1 && industry[0] == "" {
|
|
|
industry = []string{}
|
|
|
}
|
|
|
- rData, oldBuyset, isVip := entity.JyVipSubStruct.GetVipDetail(this.Session().GetMultiple())
|
|
|
+ rData, oldBuyset, isVip := entity.JyVipSubStruct.GetVipDetail(userId)
|
|
|
if !isVip {
|
|
|
return &entity.FuncResult{false, errors.New("请求异常,非vip状态"), nil}
|
|
|
}
|
|
@@ -191,7 +191,7 @@ func (this *SubscribeChange) Upgrade() {
|
|
|
openId := qutil.ObjToString(this.GetSession("s_m_openid"))
|
|
|
order_phone := this.GetString("order_phone") //p19.3用户信息采集 手机号
|
|
|
|
|
|
- rData, oldBuyset, isVip := entity.JyVipSubStruct.GetVipDetail(this.Session().GetMultiple())
|
|
|
+ rData, oldBuyset, isVip := entity.JyVipSubStruct.GetVipDetail(userId)
|
|
|
if !isVip {
|
|
|
return &entity.FuncResult{false, errors.New("请求异常,非vip状态"), nil}
|
|
|
}
|