瀏覽代碼

test

master
huangjiajun 2 年之前
父節點
當前提交
c3925a225d
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      app/task/svc/svc_playlet_adv_order.go

+ 2
- 2
app/task/svc/svc_playlet_adv_order.go 查看文件

@@ -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…
取消
儲存