|
@@ -361,13 +361,12 @@ func checkIsExpire(iy Identity) {
|
|
|
showTip := func(s, e int64) bool {
|
|
|
for _, cfg := range TimeTaskConfig.SubVipTipDuring {
|
|
|
if e-s >= cfg.Cycle*oneDayLong && (now_unix+oneDayLong*(cfg.Day+1) > e && now_unix+oneDayLong*cfg.Day < e) {
|
|
|
- log.Println("用户", _id, i_vip_status, l_vip_endtime, "新增到期提醒", cfg.Day)
|
|
|
+ log.Println("用户 sVipTip", _id, i_vip_status, l_vip_endtime, "新增到期提醒", cfg.Day)
|
|
|
return true
|
|
|
}
|
|
|
}
|
|
|
return false
|
|
|
}(l_vip_starttime, l_vip_endtime)
|
|
|
-
|
|
|
if !showTip {
|
|
|
continue
|
|
|
}
|
|
@@ -406,7 +405,7 @@ func checkIsExpire(iy Identity) {
|
|
|
// 存入redis值,供前台弹框使用
|
|
|
redis.Put("newother", fmt.Sprintf("Expire_SubvipTip_%d", identity.PositionId), l_vip_endtime, qutil.IntAll(l_vip_endtime-now_unix))
|
|
|
|
|
|
- log.Println("用户", _id, i_vip_status, l_vip_endtime, "修改即将到期状态", updateOk)
|
|
|
+ log.Println("用户 sVipTip", _id, identity.PositionId, i_vip_status, l_vip_endtime, "修改即将到期状态", updateOk)
|
|
|
}
|
|
|
m = make(map[string]interface{})
|
|
|
}
|