[feat] job 优化

This commit is contained in:
2023-06-05 17:32:10 +08:00
parent b2a2d70f66
commit 217e5d14df

4
job.go
View File

@@ -1,8 +1,6 @@
package contracts
import (
"fmt"
"github.com/samber/do"
)
@@ -27,7 +25,7 @@ type JobBase struct {
}
func (JobBase) Handle(any) error {
return fmt.Errorf("")
return nil
}
func NewJobBase(container *do.Injector) Job {