|
@@ -47,7 +47,7 @@ func (l *SaveTSGuideLogic) SaveTSGuide(in *bxsubscribe.SaveTSGuideReq) (*bxsubsc
|
|
|
data := IC.Compatible.Select(in.UserId, `{"i_ts_guide":1,"l_registedate":1,"o_member_jy":1}`)
|
|
|
if data != nil && len(*data) > 0 {
|
|
|
registedate := common.Int64All((*data)["l_registedate"])
|
|
|
- if (in.UserType != SubFreeFlag && registedate < IC.C.GuideRegistedate) || common.Int64All((*data)["i_ts_guide"]) == tsGuidefinished {
|
|
|
+ if (in.UserType != SubFreeFlag && registedate < IC.C.GuideRegistedate) || common.Int64All((*data)["i_ts_guide"]) == tsGuideFinished {
|
|
|
// 已经设置过
|
|
|
return nil, errors.New("重复设置向导")
|
|
|
}
|
|
@@ -157,7 +157,7 @@ func (l *SaveTSGuideLogic) SaveTSGuide(in *bxsubscribe.SaveTSGuideReq) (*bxsubsc
|
|
|
}
|
|
|
|
|
|
updateMap[fmt.Sprintf(field, "l_modifydate")] = time.Now().Unix()
|
|
|
- updateMap["i_ts_guide"] = tsGuidefinished
|
|
|
+ updateMap["i_ts_guide"] = tsGuideFinished
|
|
|
// 判断app提醒总开关是否打开 如果打开 我的订阅APP提醒初始值为“开启”状态。
|
|
|
if in.AppSwitch {
|
|
|
updateMap["o_pushset.o_subset.i_apppush"] = 1
|