1
This commit is contained in:
13
model/dto/archive_dto.go
Normal file
13
model/dto/archive_dto.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package dto
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
// ArchiveRunReq 手动触发归档请求
|
||||
type ArchiveRunReq struct {
|
||||
g.Meta `path:"/run" method:"post" tags:"归档管理" summary:"手动触发归档" dc:"立即执行月度归档任务"`
|
||||
}
|
||||
|
||||
// ArchiveRunRes 手动触发归档响应
|
||||
type ArchiveRunRes struct {
|
||||
Message string `json:"message"` // 执行结果消息
|
||||
}
|
||||
Reference in New Issue
Block a user