mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-02-17 09:45:36 +08:00
feat: 机器新增命令过滤配置、首页功能完善(操作记录与快捷操作)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"mayfly-go/internal/machine/domain/entity"
|
||||
"mayfly-go/internal/machine/domain/repository"
|
||||
"mayfly-go/pkg/base"
|
||||
)
|
||||
|
||||
type machineCmdConfRepoImpl struct {
|
||||
base.RepoImpl[*entity.MachineCmdConf]
|
||||
}
|
||||
|
||||
func newMachineCmdConfRepo() repository.MachineCmdConf {
|
||||
return &machineCmdConfRepoImpl{base.RepoImpl[*entity.MachineCmdConf]{M: new(entity.MachineCmdConf)}}
|
||||
}
|
||||
@@ -12,4 +12,5 @@ func InitIoc() {
|
||||
ioc.Register(newMachineCronJobExecRepo(), ioc.WithComponentName("MachineCronJobExecRepo"))
|
||||
ioc.Register(newMachineCronJobRelateRepo(), ioc.WithComponentName("MachineCronJobRelateRepo"))
|
||||
ioc.Register(newMachineTermOpRepoImpl(), ioc.WithComponentName("MachineTermOpRepo"))
|
||||
ioc.Register(newMachineCmdConfRepo(), ioc.WithComponentName("MachineCmdConfRepo"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user