v1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchOperateReq

type BatchOperateReq struct {
	g.Meta `path:"/batch/operate" role:"admin" tags:"site_config" method:"post" summary:"站点配置批量操作接口"`
	model.SiteConfigBatchOperateReq
}

站点配置批量操作接口请求参数

type BatchOperateRes

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

站点配置批量操作接口响应参数

type ChangeStatusReq

type ChangeStatusReq struct {
	g.Meta `path:"/change/status" role:"admin" tags:"site_config" method:"post" summary:"更改站点配置状态接口"`
	model.SiteConfigChangeStatusReq
}

更改站点配置状态接口请求参数

type ChangeStatusRes

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

更改站点配置状态接口响应参数

type CreateReq

type CreateReq struct {
	g.Meta `path:"/create" role:"admin" tags:"site_config" method:"post" summary:"新建站点配置接口"`
	model.SiteConfigCreateReq
}

新建站点配置接口请求参数

type CreateRes

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

新建站点配置接口响应参数

type DeleteReq

type DeleteReq struct {
	g.Meta `path:"/delete" role:"admin" tags:"site_config" method:"post" summary:"删除站点配置接口"`
	Id     string `json:"id"`
}

删除站点配置接口请求参数

type DeleteRes

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

删除站点配置接口响应参数

type DetailReq

type DetailReq struct {
	g.Meta `path:"/detail" role:"admin" tags:"site_config" method:"get" summary:"站点配置详情接口"`
	model.SiteConfigDetailReq
}

站点配置详情接口请求参数

type DetailRes

type DetailRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.SiteConfigDetailRes
}

站点配置详情接口响应参数

type PageReq

type PageReq struct {
	g.Meta `path:"/page" role:"admin" tags:"site_config" method:"post" summary:"站点配置分页列表接口"`
	model.SiteConfigPageReq
}

站点配置分页列表接口请求参数

type PageRes

type PageRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.SiteConfigPageRes
}

站点配置分页列表接口响应参数

type SiteReq

type SiteReq struct {
	g.Meta `path:"/site" role:"*" tags:"site_config" method:"get" summary:"站点配置接口"`
	model.SiteConfigDetailReq
}

站点配置接口请求参数

type SiteRes

type SiteRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.SiteConfigDetailRes
}

站点配置接口响应参数

type UpdateReq

type UpdateReq struct {
	g.Meta `path:"/update" role:"admin" tags:"site_config" method:"post" summary:"更新站点配置接口"`
	model.SiteConfigUpdateReq
}

更新站点配置接口请求参数

type UpdateRes

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

更新站点配置接口响应参数

Jump to

Keyboard shortcuts

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