mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-28 10:09:54 +08:00
发布v2.15.1版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -13,14 +13,14 @@ import (
|
||||
|
||||
// ClearReq 清空日志
|
||||
type ClearReq struct {
|
||||
g.Meta `path:"/log/clear" method:"post" tags:"日志" summary:"清空日志"`
|
||||
g.Meta `path:"/log/clear" method:"post" tags:"访问日志" summary:"清空日志"`
|
||||
}
|
||||
|
||||
type ClearRes struct{}
|
||||
|
||||
// ExportReq 导出
|
||||
type ExportReq struct {
|
||||
g.Meta `path:"/log/export" method:"get" tags:"日志" summary:"导出日志"`
|
||||
g.Meta `path:"/log/export" method:"get" tags:"访问日志" summary:"导出日志"`
|
||||
sysin.LogListInp
|
||||
}
|
||||
|
||||
@@ -28,18 +28,18 @@ type ExportRes struct{}
|
||||
|
||||
// ListReq 获取菜单列表
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/log/list" method:"get" tags:"日志" summary:"获取日志列表"`
|
||||
g.Meta `path:"/log/list" method:"get" tags:"访问日志" summary:"获取日志列表"`
|
||||
sysin.LogListInp
|
||||
}
|
||||
|
||||
type ListRes struct {
|
||||
List []*sysin.LogListModel `json:"list" dc:"数据列表"`
|
||||
List []*sysin.LogListModel `json:"list" dc:"数据列表"`
|
||||
form.PageRes
|
||||
}
|
||||
|
||||
// DeleteReq 删除
|
||||
type DeleteReq struct {
|
||||
g.Meta `path:"/log/delete" method:"post" tags:"日志" summary:"删除日志"`
|
||||
g.Meta `path:"/log/delete" method:"post" tags:"访问日志" summary:"删除日志"`
|
||||
sysin.LogDeleteInp
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ type DeleteRes struct{}
|
||||
|
||||
// ViewReq 获取指定信息
|
||||
type ViewReq struct {
|
||||
g.Meta `path:"/log/view" method:"get" tags:"日志" summary:"获取指定信息"`
|
||||
g.Meta `path:"/log/view" method:"get" tags:"访问日志" summary:"获取指定信息"`
|
||||
sysin.LogViewInp
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user