2022-11-24 23:37:34 +08:00
|
|
|
// Package sysin
|
|
|
|
// @Link https://github.com/bufanyun/hotgo
|
2023-02-23 17:53:04 +08:00
|
|
|
// @Copyright Copyright (c) 2023 HotGo CLI
|
2022-11-24 23:37:34 +08:00
|
|
|
// @Author Ms <133814250@qq.com>
|
|
|
|
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
|
|
|
//
|
|
|
|
package sysin
|
|
|
|
|
|
|
|
import (
|
|
|
|
"hotgo/internal/model/entity"
|
|
|
|
"hotgo/internal/model/input/form"
|
|
|
|
)
|
|
|
|
|
|
|
|
// CronMaxSortInp 最大排序
|
|
|
|
type CronMaxSortInp struct {
|
|
|
|
Id int64
|
|
|
|
}
|
|
|
|
|
|
|
|
type CronMaxSortModel struct {
|
|
|
|
Sort int
|
|
|
|
}
|
|
|
|
|
|
|
|
// CronEditInp 修改/新增字典数据
|
|
|
|
type CronEditInp struct {
|
|
|
|
entity.SysCron
|
|
|
|
}
|
|
|
|
type CronEditModel struct{}
|
|
|
|
|
|
|
|
// CronDeleteInp 删除字典类型
|
|
|
|
type CronDeleteInp struct {
|
|
|
|
Id interface{}
|
|
|
|
}
|
|
|
|
type CronDeleteModel struct{}
|
|
|
|
|
|
|
|
// CronViewInp 获取信息
|
|
|
|
type CronViewInp struct {
|
|
|
|
Id int64
|
|
|
|
}
|
|
|
|
|
|
|
|
type CronViewModel struct {
|
|
|
|
entity.SysCron
|
|
|
|
}
|
|
|
|
|
|
|
|
// CronListInp 获取列表
|
|
|
|
type CronListInp struct {
|
|
|
|
form.PageReq
|
|
|
|
form.RangeDateReq
|
|
|
|
form.StatusReq
|
|
|
|
Name string
|
|
|
|
}
|
|
|
|
|
|
|
|
type CronListModel struct {
|
|
|
|
entity.SysCron
|
|
|
|
GroupName string `json:"groupName"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// CronStatusInp 更新状态
|
|
|
|
type CronStatusInp struct {
|
|
|
|
entity.SysCron
|
|
|
|
}
|
|
|
|
type CronStatusModel struct{}
|
2023-01-25 11:49:21 +08:00
|
|
|
|
|
|
|
// OnlineExecInp 在线执行
|
|
|
|
type OnlineExecInp struct {
|
|
|
|
entity.SysCron
|
|
|
|
}
|
|
|
|
type OnlineExecModel struct{}
|