v1

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 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" method:"post" auth:"true" role:"admin" tags:"group" summary:"分组批量操作接口"`
	model.GroupBatchOperateReq
}

分组批量操作接口请求参数

type BatchOperateRes

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

分组批量操作接口响应参数

type ChangeExpireReq

type ChangeExpireReq struct {
	g.Meta `path:"/change/expire" method:"post" auth:"true" role:"admin" tags:"group" summary:"更改过期时间接口"`
	model.GroupChangeExpireReq
}

更改过期时间接口请求参数

type ChangeExpireRes

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

更改过期时间接口响应参数

type ChangePublicReq

type ChangePublicReq struct {
	g.Meta `path:"/change/public" method:"post" auth:"true" role:"admin" tags:"group" summary:"更改分组公开状态接口"`
	model.GroupChangePublicReq
}

更改分组公开状态接口请求参数

type ChangePublicRes

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

更改分组公开状态接口响应参数

type ChangeStatusReq

type ChangeStatusReq struct {
	g.Meta `path:"/change/status" method:"post" auth:"true" role:"admin" tags:"group" summary:"更改分组状态接口"`
	model.GroupChangeStatusReq
}

更改分组状态接口请求参数

type ChangeStatusRes

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

更改分组状态接口响应参数

type CreateReq

type CreateReq struct {
	g.Meta `path:"/create" method:"post" auth:"true" role:"admin" tags:"group" summary:"新建分组接口"`
	model.GroupCreateReq
}

新建分组接口请求参数

type CreateRes

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

新建分组接口响应参数

type DeleteReq

type DeleteReq struct {
	g.Meta `path:"/delete" method:"post" auth:"true" role:"admin" tags:"group" 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" method:"get" auth:"true" role:"admin" tags:"group" summary:"分组详情接口"`
	Id     string `json:"id"`
}

分组详情接口请求参数

type DetailRes

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

分组详情接口响应参数

type ListReq

type ListReq struct {
	g.Meta `path:"/list" method:"get" auth:"true" role:"reseller,user,admin" tags:"group" summary:"分组列表接口"`
	model.GroupListReq
}

分组列表接口请求参数

type ListRes

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

分组列表接口响应参数

type PageReq

type PageReq struct {
	g.Meta `path:"/page" method:"post" auth:"true" role:"reseller,user,admin" tags:"group" summary:"分组分页列表接口"`
	model.GroupPageReq
}

分组分页列表接口请求参数

type PageRes

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

分组分页列表接口响应参数

type UpdateReq

type UpdateReq struct {
	g.Meta `path:"/update" method:"post" auth:"true" role:"admin" tags:"group" summary:"更新分组接口"`
	model.GroupUpdateReq
}

更新分组接口请求参数

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