Documentation
¶
Index ¶
- type BatchOperateReq
- type BatchOperateRes
- type ChangeStatusReq
- type ChangeStatusRes
- type CreateReq
- type CreateRes
- type DeleteReq
- type DeleteRes
- type DetailReq
- type DetailRes
- type InitSyncReq
- type InitSyncRes
- type ListReq
- type ListRes
- type PageReq
- type PageRes
- type TreeReq
- type TreeRes
- type UpdateReq
- type UpdateRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchOperateReq ¶ added in v0.2.0
type BatchOperateReq struct { g.Meta `path:"/batch/operate" role:"admin" tags:"model" method:"post" summary:"模型批量操作接口"` model.ModelBatchOperateReq }
模型批量操作接口请求参数
type BatchOperateRes ¶ added in v0.2.0
模型批量操作接口响应参数
type ChangeStatusReq ¶
type ChangeStatusReq struct { g.Meta `path:"/change/status" role:"admin" tags:"model" method:"post" summary:"更改模型状态接口"` model.ModelChangeStatusReq }
更改模型状态接口请求参数
type ChangeStatusRes ¶
更改模型状态接口响应参数
type CreateReq ¶
type CreateReq struct { g.Meta `path:"/create" role:"admin" tags:"model" method:"post" summary:"新建模型接口"` model.ModelCreateReq }
新建模型接口请求参数
type DeleteReq ¶
type DeleteReq struct { g.Meta `path:"/delete" role:"admin" tags:"model" method:"post" summary:"删除模型接口"` Id string `json:"id"` }
删除模型接口请求参数
type DetailReq ¶
type DetailReq struct { g.Meta `path:"/detail" role:"admin" tags:"model" method:"get" summary:"模型详情接口"` Id string `json:"id"` }
模型详情接口请求参数
type DetailRes ¶
type DetailRes struct { g.Meta `mime:"application/json" example:"json"` *model.ModelDetailRes }
模型详情接口响应参数
type InitSyncReq ¶ added in v0.5.0
type InitSyncReq struct { g.Meta `path:"/init" role:"admin" tags:"model" method:"post" summary:"模型初始化同步接口"` model.ModelInitSyncReq }
模型初始化同步接口请求参数
type InitSyncRes ¶ added in v0.5.0
模型初始化同步接口响应参数
type ListReq ¶
type ListReq struct { g.Meta `path:"/list" role:"user,admin" tags:"model" method:"get" summary:"模型列表接口"` model.ModelListReq }
模型列表接口请求参数
type ListRes ¶
type ListRes struct { g.Meta `mime:"application/json" example:"json"` *model.ModelListRes }
模型列表接口响应参数
type PageReq ¶
type PageReq struct { g.Meta `path:"/page" role:"user,admin" tags:"model" method:"post" summary:"模型分页列表接口"` model.ModelPageReq }
模型分页列表接口请求参数
type PageRes ¶
type PageRes struct { g.Meta `mime:"application/json" example:"json"` *model.ModelPageRes }
模型分页列表接口响应参数
type TreeReq ¶ added in v0.5.0
type TreeReq struct { g.Meta `path:"/tree" role:"user,admin" tags:"model" method:"get" summary:"模型树接口"` model.ModelTreeReq }
模型树接口请求参数
type TreeRes ¶ added in v0.5.0
type TreeRes struct { g.Meta `mime:"application/json" example:"json"` *model.ModelTreeRes }
模型树接口响应参数
Click to show internal directories.
Click to hide internal directories.