[feat] 重新梳理依赖

This commit is contained in:
2024-05-09 13:15:24 +08:00
parent 9172fb2f34
commit bddd754869
28 changed files with 341 additions and 1075 deletions
+4 -2
View File
@@ -1,5 +1,7 @@
package contracts
import "git.fsdpf.net/go/req"
type CronService interface {
Start() error
Stop() error
@@ -9,13 +11,13 @@ type CronService interface {
type Cron interface {
Controller
// 任务处理
Run(User) error
Run(req.User) error
}
type CronBase struct {
Controller
}
func (CronBase) Run(User) error {
func (CronBase) Run(req.User) error {
return nil
}