mager: 合并11.3版本,包名和主线一样方便复制
This commit is contained in:
@@ -7,14 +7,14 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"nms_cxy/src/framework/i18n"
|
||||
"nms_cxy/src/framework/utils/ctx"
|
||||
"nms_cxy/src/framework/utils/file"
|
||||
"nms_cxy/src/framework/utils/parse"
|
||||
"nms_cxy/src/framework/vo/result"
|
||||
"nms_cxy/src/modules/monitor/model"
|
||||
"nms_cxy/src/modules/monitor/service"
|
||||
systemService "nms_cxy/src/modules/system/service"
|
||||
"be.ems/src/framework/i18n"
|
||||
"be.ems/src/framework/utils/ctx"
|
||||
"be.ems/src/framework/utils/file"
|
||||
"be.ems/src/framework/utils/parse"
|
||||
"be.ems/src/framework/vo/result"
|
||||
"be.ems/src/modules/monitor/model"
|
||||
"be.ems/src/modules/monitor/service"
|
||||
systemService "be.ems/src/modules/system/service"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/gin-gonic/gin/binding"
|
||||
@@ -22,18 +22,16 @@ import (
|
||||
|
||||
// 实例化控制层 SysJobLogController 结构体
|
||||
var NewSysJob = &SysJobController{
|
||||
sysJobService: service.NewSysJobImpl,
|
||||
sysDictDataService: systemService.NewSysDictDataImpl,
|
||||
sysJobService: service.NewSysJob,
|
||||
sysDictDataService: systemService.NewSysDictData,
|
||||
}
|
||||
|
||||
// 调度任务信息
|
||||
//
|
||||
// PATH /monitor/job
|
||||
type SysJobController struct {
|
||||
// 调度任务服务
|
||||
sysJobService service.ISysJob
|
||||
// 字典数据服务
|
||||
sysDictDataService systemService.ISysDictData
|
||||
sysJobService *service.SysJob // 调度任务服务
|
||||
sysDictDataService *systemService.SysDictData // 字典数据服务
|
||||
}
|
||||
|
||||
// 调度任务列表
|
||||
|
||||
Reference in New Issue
Block a user