Browse Source

test

master
huangjiajun 1 year ago
parent
commit
c3925a225d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/task/svc/svc_playlet_adv_order.go

+ 2
- 2
app/task/svc/svc_playlet_adv_order.go View File

@@ -156,9 +156,9 @@ func PlayletAdvOrderMonth() {
runtime := syscfgDb.MasterListCfgGetOneData(uid, key) runtime := syscfgDb.MasterListCfgGetOneData(uid, key)
keyIsEnd := "playlet_adv_order_month_is_end" keyIsEnd := "playlet_adv_order_month_is_end"
if utils.TimeStdParseUnix(starttime) < stime { 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, "") 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) isEnd := syscfgDb.MasterListCfgGetOneData(uid, keyIsEnd)


Loading…
Cancel
Save