mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-04 21:55:48 +08:00
feat: 支持关联多标签、计划任务立即执行、标签相关操作优化
This commit is contained in:
@@ -2,12 +2,14 @@ package application
|
||||
|
||||
import (
|
||||
"mayfly-go/internal/machine/infrastructure/persistence"
|
||||
tagapp "mayfly-go/internal/tag/application"
|
||||
)
|
||||
|
||||
var (
|
||||
machineApp Machine = newMachineApp(
|
||||
persistence.GetMachineRepo(),
|
||||
GetAuthCertApp(),
|
||||
tagapp.GetTagTreeApp(),
|
||||
)
|
||||
|
||||
machineFileApp MachineFile = newMachineFileApp(
|
||||
@@ -28,6 +30,8 @@ var (
|
||||
persistence.GetMachineCronJobExecRepo(),
|
||||
GetMachineApp(),
|
||||
)
|
||||
|
||||
machineTermOpApp MachineTermOp = newMachineTermOpApp(persistence.GetMachineTermOpRepo())
|
||||
)
|
||||
|
||||
func GetMachineApp() Machine {
|
||||
@@ -49,3 +53,7 @@ func GetAuthCertApp() AuthCert {
|
||||
func GetMachineCronJobApp() MachineCronJob {
|
||||
return machineCropJobApp
|
||||
}
|
||||
|
||||
func GetMachineTermOpApp() MachineTermOp {
|
||||
return machineTermOpApp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user