@ -11,13 +11,13 @@ type CronService interface {
type Cron interface {
Controller
// 任务处理
Handle(time.Time) error
Run(time.Time) error
}
type CronBase struct {
func (CronBase) Handle(t time.Time) error {
func (CronBase) Run(t time.Time) error {
return nil
The note is not visible to the blocked user.