[feat] 定时任务支持

This commit is contained in:
what 2023-10-30 15:44:12 +08:00
parent 41bfdea63b
commit 5be804d2d2

View File

@ -13,3 +13,11 @@ type Cron interface {
// 任务处理
Handle(time.Time) error
}
type CronBase struct {
Controller
}
func (CronBase) Handle(t time.Time) error {
return nil
}