This commit is contained in:
苏尹岚
2021-03-31 10:00:28 +08:00
parent 125c335c80
commit bc951c1a59

View File

@@ -223,9 +223,9 @@ func Init() {
ScheduleTimerFunc("SendSeckillSkusCountMsg", func() { ScheduleTimerFunc("SendSeckillSkusCountMsg", func() {
cms.SendSeckillSkusCountMsg(jxcontext.AdminCtx, []int{model.VendorIDEBAI, model.VendorIDJD, model.VendorIDMTWM}, false, true) cms.SendSeckillSkusCountMsg(jxcontext.AdminCtx, []int{model.VendorIDEBAI, model.VendorIDJD, model.VendorIDMTWM}, false, true)
}, sendSecKillWarnList) }, sendSecKillWarnList)
ScheduleTimerFunc("每日报警心跳", func() { // ScheduleTimerFunc("每日报警心跳", func() {
globals.SugarLogger.Warnf("每日报警心跳,这不是报警。启动时间:%s", cms.GetServiceInfo(jxcontext.AdminCtx)["startupTime"]) // globals.SugarLogger.Warnf("每日报警心跳,这不是报警。启动时间:%s", cms.GetServiceInfo(jxcontext.AdminCtx)["startupTime"])
}, dailyHeartbeat) // }, dailyHeartbeat)
ScheduleTimerFunc("AutoPayForPopluarMan", func() { ScheduleTimerFunc("AutoPayForPopluarMan", func() {
localjx.AutoPayForPopluarMan(jxcontext.AdminCtx) localjx.AutoPayForPopluarMan(jxcontext.AdminCtx)
}, autoPayForPopluarManList) }, autoPayForPopluarManList)
@@ -284,7 +284,7 @@ func Init() {
cms.RefreshMTWMToken(jxcontext.AdminCtx) cms.RefreshMTWMToken(jxcontext.AdminCtx)
}, updateActStatusTimeList) }, updateActStatusTimeList)
//获取最新平台流量活动 //获取最新平台流量活动
ScheduleTimerFunc("GetVendorPopActs", func() { ScheduleTimerFunc("GetNewVendorPopActs", func() {
act.GetNewVendorPopActs(jxcontext.AdminCtx) act.GetNewVendorPopActs(jxcontext.AdminCtx)
}, dailyHeartbeat) }, dailyHeartbeat)
} }