29 lines
1.2 KiB
Go
29 lines
1.2 KiB
Go
package v1
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model"
|
|
)
|
|
|
|
type ExecutionLogListReq struct {
|
|
g.Meta `path:"/execution-log/list" method:"get" tags:"APP-执行日志" summary:"查询权限范围内执行日志" x-check-permission:"cpm:common:batchExecutionLog:list"`
|
|
model.AppExecutionLogListParam
|
|
}
|
|
type ExecutionLogListRes struct {
|
|
Items []*model.AppExecutionLogItem `json:"items"`
|
|
Total int `json:"total"`
|
|
}
|
|
type ExecutionLogSummaryReq struct {
|
|
g.Meta `path:"/execution-log/summary" method:"get" tags:"APP-执行日志" summary:"查询权限范围内执行日志概要" x-check-permission:"cpm:common:batchExecutionLog:summary"`
|
|
BatchNo string `json:"batchNo" v:"required|length:1,64"`
|
|
}
|
|
type ExecutionLogSummaryRes struct{ *model.AppExecutionLogItem }
|
|
type ExecutionLogDetailsReq struct {
|
|
g.Meta `path:"/execution-log/details" method:"get" tags:"APP-执行日志" summary:"查询权限范围内执行日志明细" x-check-permission:"cpm:common:batchExecutionLog:detailList"`
|
|
model.AppExecutionLogDetailParam
|
|
}
|
|
type ExecutionLogDetailsRes struct {
|
|
Items []*model.AppExecutionLogDetail `json:"items"`
|
|
Total int `json:"total"`
|
|
}
|