Ver código fonte

更新

master
huangjiajun 1 ano atrás
pai
commit
a0dd6a15e8
1 arquivos alterados com 2 adições e 6 exclusões
  1. +2
    -6
      app/task/svc/svc_tik_tok_task.go

+ 2
- 6
app/task/svc/svc_tik_tok_task.go Ver arquivo

@@ -26,12 +26,8 @@ func TikTokTask() {
appidList := offical.MasterListCfgGetOneData("0", "tik_tok_task_appid")
split := strings.Split(appidList, ";")
for _, v := range split {
appidTime := offical.MasterListCfgGetOneData("0", "tik_tok_task_appid_time_"+v)
if appidTime == "" {
appidTime = utils.Int64ToStr(time.Now().Unix())
}
startTime := utils.StrToInt64(appidTime)
endTime := startTime + 7*86400
endTime := time.Now().Unix()
startTime := endTime - 7*86400
if endTime > time.Now().Unix() {
endTime = time.Now().Unix()
}


Carregando…
Cancelar
Salvar