package console import ( "github.com/robfig/cron" ) /** * 配置执行计划 * @wiki https://godoc.org/github.com/robfig/cron */ func RegisterSchedule(c *cron.Cron) { c.AddFunc("@every 1m", ClearUnpayOrder) }