diff --git a/app/task/svc/svc_playlet_adv_order.go b/app/task/svc/svc_playlet_adv_order.go index 5245c8b..d53179d 100644 --- a/app/task/svc/svc_playlet_adv_order.go +++ b/app/task/svc/svc_playlet_adv_order.go @@ -156,9 +156,9 @@ func PlayletAdvOrderMonth() { runtime := syscfgDb.MasterListCfgGetOneData(uid, key) keyIsEnd := "playlet_adv_order_month_is_end" if utils.TimeStdParseUnix(starttime) < stime { - syscfgDb.MasterListCfgUpdate(uid, key, time.Now().Format("2006-01-02")) + syscfgDb.MasterListCfgUpdate(uid, key, time.Now().Format("2006-01-02 15:04:05")) syscfgDb.MasterListCfgUpdate(uid, keyIsEnd, "") - runtime = time.Unix(timeRange["start"], 0).Format("2006-01-02") + runtime = time.Unix(timeRange["start"], 0).Format("2006-01-02 15:04:05") } //当前是否结束了 isEnd := syscfgDb.MasterListCfgGetOneData(uid, keyIsEnd)