Documentation
¶
Index ¶
- type BatchOperateReq
- type BatchOperateRes
- type ChangeExpireReq
- type ChangeExpireRes
- type ChangePublicReq
- type ChangePublicRes
- type ChangeStatusReq
- type ChangeStatusRes
- type CreateReq
- type CreateRes
- type DeleteReq
- type DeleteRes
- type DetailReq
- type DetailRes
- type ListReq
- type ListRes
- type PageReq
- type PageRes
- type UpdateReq
- type UpdateRes
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 ChangeExpireReq ¶
type ChangeExpireReq struct {
g.Meta `path:"/change/expire" method:"post" auth:"true" role:"admin" tags:"group" summary:"更改过期时间接口"`
model.GroupChangeExpireReq
}
更改过期时间接口请求参数
type ChangeExpireRes ¶
更改过期时间接口响应参数
type ChangePublicReq ¶
type ChangePublicReq struct {
g.Meta `path:"/change/public" method:"post" auth:"true" role:"admin" tags:"group" summary:"更改分组公开状态接口"`
model.GroupChangePublicReq
}
更改分组公开状态接口请求参数
type ChangePublicRes ¶
更改分组公开状态接口响应参数
type ChangeStatusReq ¶
type ChangeStatusReq struct {
g.Meta `path:"/change/status" method:"post" auth:"true" role:"admin" tags:"group" summary:"更改分组状态接口"`
model.GroupChangeStatusReq
}
更改分组状态接口请求参数
type ChangeStatusRes ¶
更改分组状态接口响应参数
type CreateReq ¶
type CreateReq struct {
g.Meta `path:"/create" method:"post" auth:"true" role:"admin" tags:"group" summary:"新建分组接口"`
model.GroupCreateReq
}
新建分组接口请求参数
type DeleteReq ¶
type DeleteReq struct {
g.Meta `path:"/delete" method:"post" auth:"true" role:"admin" tags:"group" summary:"删除分组接口"`
Id string `json:"id"`
}
删除分组接口请求参数
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
}
分组分页列表接口响应参数
Click to show internal directories.
Click to hide internal directories.