package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Sep 24, 2025
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DeleteAllLogsReq struct {
g.Meta `path:"/system/logs/all" method:"delete" tags:"日志管理" summary:"删除全部日志"`
}
type DeleteAllLogsRes struct {
g.Meta `mime:"application/json"`
}
type DeleteLogsReq struct {
g.Meta `path:"/system/logs/{id}" method:"delete" tags:"日志管理" summary:"删除日志"`
Id *int `json:"" v:"required#日志ID不能为空"`
}
type DeleteLogsRes struct {
g.Meta `mime:"application/json"`
}
type GetLatestVersionReq struct {
g.Meta `path:"/system/latestVersion" method:"get" tags:"系统" summary:"获取最新版本"`
}
type GetLatestVersionRes struct {
g.Meta `mime:"application/json"`
LatestVersion string `json:"latestVersion"`
}
type GetLogsListReq struct {
g.Meta `path:"/system/logs/list" method:"get" tags:"日志管理" summary:"获取日志列表"`
Type *int `json:"type" v:"in:1,2#日志类型错误"`
Status *int `json:"status" v:"in:0,1#日志状态错误"`
Sort string `json:"sort"`
}
type GetLogsListRes struct {
g.Meta `mime:"application/json"`
Rows []*entity.SysLogs `json:"rows"`
Total int `json:"total"`
}
type GetOverviewReq struct {
g.Meta `path:"/system/overview" method:"get" tags:"系统" summary:"获取系统概览"`
}
type GetOverviewRes struct {
g.Meta `mime:"application/json"`
Data *model.Overview `json:"data"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.