v1

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteAllLogsReq

type DeleteAllLogsReq struct {
	g.Meta `path:"/system/logs/all" method:"delete" tags:"日志管理" summary:"删除全部日志"`
}

type DeleteAllLogsRes

type DeleteAllLogsRes struct {
	g.Meta `mime:"application/json"`
}

type DeleteLogsReq

type DeleteLogsReq struct {
	g.Meta `path:"/system/logs/{id}" method:"delete" tags:"日志管理" summary:"删除日志"`
	Id     *int `json:"" v:"required#日志ID不能为空"`
}

type DeleteLogsRes

type DeleteLogsRes struct {
	g.Meta `mime:"application/json"`
}

type GetLatestVersionReq

type GetLatestVersionReq struct {
	g.Meta `path:"/system/latestVersion" method:"get" tags:"系统" summary:"获取最新版本"`
}

type GetLatestVersionRes

type GetLatestVersionRes struct {
	g.Meta        `mime:"application/json"`
	LatestVersion string `json:"latestVersion"`
}

type GetLogsListReq

type GetLogsListReq struct {
	g.Meta `path:"/system/logs/list" method:"get" tags:"日志管理" summary:"获取日志列表"`
	common.PageReq
	Type   *int   `json:"type" v:"in:1,2#日志类型错误"`
	Status *int   `json:"status" v:"in:0,1#日志状态错误"`
	Sort   string `json:"sort"`
}

type GetLogsListRes

type GetLogsListRes struct {
	g.Meta `mime:"application/json"`
	Rows   []*entity.SysLogs `json:"rows"`
	Total  int               `json:"total"`
}

type GetOverviewReq

type GetOverviewReq struct {
	g.Meta `path:"/system/overview" method:"get" tags:"系统" summary:"获取系统概览"`
}

type GetOverviewRes

type GetOverviewRes struct {
	g.Meta `mime:"application/json"`
	Data   *model.Overview `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL