mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-25 00:56:35 +08:00
feat: 完善数据库信息保存以及项目、redis相关操作
This commit is contained in:
@@ -4,12 +4,10 @@ import "mayfly-go/base/model"
|
||||
|
||||
type MachineScript struct {
|
||||
model.Model
|
||||
Name string `json:"name"`
|
||||
// 机器id
|
||||
MachineId uint64 `json:"machineId"`
|
||||
Type int `json:"type"`
|
||||
// 脚本内容
|
||||
Description string `json:"description"`
|
||||
// 脚本内容
|
||||
Script string `json:"script"`
|
||||
Name string `json:"name"`
|
||||
MachineId uint64 `json:"machineId"` // 机器id
|
||||
Type int `json:"type"`
|
||||
Description string `json:"description"` // 脚本描述
|
||||
Params string `json:"params"` // 参数列表json
|
||||
Script string `json:"script"` // 脚本内容
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user