Documentation ¶
Index ¶
- type ChangeQuotaExpireReq
- type ChangeQuotaExpireRes
- type ChangeStatusReq
- type ChangeStatusRes
- type CreateReq
- type CreateRes
- type DeleteReq
- type DeleteRes
- type DetailReq
- type DetailRes
- type GrantQuotaReq
- type GrantQuotaRes
- type ListReq
- type ListRes
- type ModelsReq
- type ModelsRes
- 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 ChangeQuotaExpireReq ¶ added in v0.3.0
type ChangeQuotaExpireReq struct { g.Meta `path:"/change/quota/expire" tags:"admin_user" method:"post" summary:"更改用户额度过期时间接口"` model.UserChangeQuotaExpireReq }
更改用户额度过期时间接口请求参数
type ChangeQuotaExpireRes ¶ added in v0.3.0
更改用户额度过期时间接口响应参数
type ChangeStatusReq ¶
type ChangeStatusReq struct { g.Meta `path:"/change/status" tags:"admin_user" method:"post" summary:"更改用户状态接口"` model.UserChangeStatusReq }
更改用户状态接口请求参数
type ChangeStatusRes ¶
更改用户状态接口响应参数
type CreateReq ¶
type CreateReq struct { g.Meta `path:"/create" tags:"admin_user" method:"post" summary:"新建用户接口"` model.UserCreateReq }
新建用户接口请求参数
type DeleteReq ¶
type DeleteReq struct { g.Meta `path:"/delete" tags:"admin_user" method:"post" summary:"删除用户接口"` Id string `json:"id"` }
删除用户接口请求参数
type DetailReq ¶
type DetailReq struct { g.Meta `path:"/detail" tags:"admin_user" method:"get" summary:"用户详情接口"` Id string `json:"id"` }
用户详情接口请求参数
type DetailRes ¶
type DetailRes struct { g.Meta `mime:"application/json" example:"json"` *model.UserDetailRes }
用户详情接口响应参数
type GrantQuotaReq ¶
type GrantQuotaReq struct { g.Meta `path:"/grant/quota" tags:"admin_user" method:"post" summary:"授予用户额度接口"` model.UserGrantQuotaReq }
授予用户额度接口请求参数
type GrantQuotaRes ¶
授予用户额度接口响应参数
type ListReq ¶
type ListReq struct { g.Meta `path:"/list" tags:"admin_user" method:"get" summary:"用户列表接口"` model.UserListReq }
用户列表接口请求参数
type ListRes ¶
type ListRes struct { g.Meta `mime:"application/json" example:"json"` *model.UserListRes }
用户列表接口响应参数
type ModelsReq ¶
type ModelsReq struct { g.Meta `path:"/models" tags:"admin_user" method:"post" summary:"用户模型权限接口"` model.UserModelsReq }
用户模型权限接口请求参数
type PageReq ¶
type PageReq struct { g.Meta `path:"/page" tags:"admin_user" method:"post" summary:"用户分页列表接口"` model.UserPageReq }
用户分页列表接口请求参数
type PageRes ¶
type PageRes struct { g.Meta `mime:"application/json" example:"json"` *model.UserPageRes }
用户分页列表接口响应参数
Click to show internal directories.
Click to hide internal directories.