每日订单打款测试,2020-02-13 9.30

This commit is contained in:
苏尹岚
2020-02-13 09:25:57 +08:00
parent 68e690f6db
commit e46e86396c
2 changed files with 13 additions and 6 deletions

View File

@@ -6,6 +6,8 @@ import (
"sync"
"time"
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx/localjx"
"git.rosy.net.cn/jx-callback/business/jxstore/event"
"git.rosy.net.cn/jx-callback/business/jxstore/report"
@@ -91,6 +93,9 @@ var (
sendSecKillWarnList = []string{
"9:00:00",
}
autoPayForPopluarManList = []string{
"9:30:00",
}
autoSaleStoreSkuTimeList = []string{
cms.AutoSaleAtStr,
@@ -170,6 +175,9 @@ func Init() {
ScheduleTimerFunc("每日报警心跳", func() {
globals.SugarLogger.Warnf("每日报警心跳,这不是报警。启动时间:%s", cms.GetServiceInfo(jxcontext.AdminCtx)["startupTime"])
}, dailyHeartbeat)
ScheduleTimerFunc("AutoPayForPopluarMan", func() {
localjx.AutoPayForPopluarMan(jxcontext.AdminCtx)
}, autoPayForPopluarManList)
}
ScheduleTimerFunc("AutoSaleStoreSku", func() {
cms.AutoSaleStoreSku(jxcontext.AdminCtx, nil, false)