diff --git a/app/task/svc/svc_tik_tok_chanxuan.go b/app/task/svc/svc_tik_tok_chanxuan.go index 0e7b48d..b4fd5c4 100644 --- a/app/task/svc/svc_tik_tok_chanxuan.go +++ b/app/task/svc/svc_tik_tok_chanxuan.go @@ -28,7 +28,7 @@ func TikTokChanxuan(ordType int) { fmt.Println(timeStr) past := utils.TimeParseStd(timeStr).Unix() // 如果上次记录超过30天或者 过去时间大于当前时间戳, 把时间设置为此前20分钟 - if past < now-180*86400 || past > now { + if past > now { past = now } userId := offical.SysCfgByKeyStr("tikTok_chanxuan_user_id")