sync: 对齐小程序 v1.0.2 生产代码并脱敏
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user