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:"corp" summary:"公司批量操作接口"`
model.CorpBatchOperateReq
}
公司批量操作接口请求参数
type BatchOperateRes ¶
公司批量操作接口响应参数
type ChangePublicReq ¶
type ChangePublicReq struct {
g.Meta `path:"/change/public" method:"post" auth:"true" role:"admin" tags:"corp" summary:"更改公司公开状态接口"`
model.CorpChangePublicReq
}
更改公司公开状态接口请求参数
type ChangePublicRes ¶
更改公司公开状态接口响应参数
type ChangeStatusReq ¶
type ChangeStatusReq struct {
g.Meta `path:"/change/status" method:"post" auth:"true" role:"admin" tags:"corp" summary:"更改公司状态接口"`
model.CorpChangeStatusReq
}
更改公司状态接口请求参数
type ChangeStatusRes ¶
更改公司状态接口响应参数
type CreateReq ¶
type CreateReq struct {
g.Meta `path:"/create" method:"post" auth:"true" role:"admin" tags:"corp" summary:"新建公司接口"`
model.CorpCreateReq
}
新建公司接口请求参数
type DeleteReq ¶
type DeleteReq struct {
g.Meta `path:"/delete" method:"post" auth:"true" role:"admin" tags:"corp" summary:"删除公司接口"`
Id string `json:"id"`
}
删除公司接口请求参数
type DetailReq ¶
type DetailReq struct {
g.Meta `path:"/detail" method:"get" auth:"true" role:"admin" tags:"corp" summary:"公司详情接口"`
Id string `json:"id"`
}
公司详情接口请求参数
type DetailRes ¶
type DetailRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.CorpDetailRes
}
公司详情接口响应参数
type ListReq ¶
type ListReq struct {
g.Meta `path:"/list" method:"get" auth:"true" role:"reseller,user,admin" tags:"corp" summary:"公司列表接口"`
model.CorpListReq
}
公司列表接口请求参数
type ListRes ¶
type ListRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.CorpListRes
}
公司列表接口响应参数
type PageReq ¶
type PageReq struct {
g.Meta `path:"/page" method:"post" auth:"true" role:"admin" tags:"corp" summary:"公司分页列表接口"`
model.CorpPageReq
}
公司分页列表接口请求参数
type PageRes ¶
type PageRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.CorpPageRes
}
公司分页列表接口响应参数
Click to show internal directories.
Click to hide internal directories.