v1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 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 CreateReq

type CreateReq struct {
	g.Meta `path:"/create" tags:"admin" method:"post" summary:"新建管理员接口"`
	model.SysAdminCreateReq
}

新建管理员接口请求参数

type CreateRes

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

新建管理员接口响应参数

type DeleteReq

type DeleteReq struct {
	g.Meta `path:"/delete" tags:"admin" method:"get" 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" tags:"admin" method:"get" summary:"管理员详情接口"`
	Id     string `json:"id"`
}

管理员详情接口请求参数

type DetailRes

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

管理员详情接口响应参数

type PageReq

type PageReq struct {
	g.Meta `path:"/page" tags:"admin" method:"get" summary:"管理员分页列表接口"`
	model.SysAdminPageReq
}

管理员分页列表接口请求参数

type PageRes

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

管理员分页列表接口响应参数

type UpdateReq

type UpdateReq struct {
	g.Meta `path:"/update" tags:"admin" method:"post" summary:"更新管理员接口"`
	model.SysAdminUpdateReq
}

更新管理员接口请求参数

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