|
@@ -12,6 +12,6 @@ func AutoReturnTask() {
|
|
|
go OnlineReturnMoney() //首次执行
|
|
|
cr.AddFunc(g.Cfg().MustGet(context.Background(), "autoReturnTaskTime", "0 */3 * * * ?").String(), AutomaticPayment)
|
|
|
cr.AddFunc(g.Cfg().MustGet(context.Background(), "onlineReturnMoney", "0 */2 * * * ?").String(), OnlineReturnMoney)
|
|
|
- cr.AddFunc(g.Cfg().MustGet(context.Background(), "protocolNotice.cron", "0 */2 * * * ?").String(), OrderProtocolNotice)
|
|
|
+ cr.AddFunc(g.Cfg().MustGet(context.Background(), "protocolNotice.cron", "# 0 2 * * *").String(), OrderProtocolNotice)
|
|
|
cr.Start()
|
|
|
}
|