Files
SamWaf/model/request/waf_batchtask_req.go
T
2024-11-20 15:41:37 +08:00

37 lines
1.6 KiB
Go

package request
import "SamWaf/model/common/request"
type BatchTaskAddReq struct {
BatchTaskName string `json:"batch_task_name"` //任务名
BatchType string `json:"batch_type"` //任务类型
BatchHostCode string `json:"batch_host_code"` //网站唯一码 是否绑定到某个主机上
BatchSourceType string `json:"batch_source_type"` //来源类型(local,url)
BatchSource string `json:"batch_source"` //来源内容 路径或者实际的url内容
BatchExecuteMethod string `json:"batch_execute_method"` //任务执行方式 追加,覆盖
Remark string `json:"remark"` //备注
}
type BatchTaskEditReq struct {
Id string `json:"id"`
BatchTaskName string `json:"batch_task_name"` //任务名
BatchType string `json:"batch_type"` //任务类型
BatchHostCode string `json:"batch_host_code"` //网站唯一码 是否绑定到某个主机上
BatchSourceType string `json:"batch_source_type"` //来源类型(local,url)
BatchSource string `json:"batch_source"` //来源内容 路径或者实际的url内容
BatchExecuteMethod string `json:"batch_execute_method"` //任务执行方式 追加,覆盖
Remark string `json:"remark"` //备注
}
type BatchTaskDetailReq struct {
Id string `json:"id" form:"id"`
}
type BatchTaskDeleteReq struct {
Id string `json:"id" form:"id"`
}
type BatchTaskSearchReq struct {
BatchTaskName string `json:"batch_task_name"` //任务名
request.PageInfo
}
type BatchTaskManualReq struct {
Id string `json:"id" form:"id"`
}