Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeStatusReq ¶
type ChangeStatusReq struct {
g.Meta `path:"/change/status" tags:"model" method:"post" summary:"更改模型状态接口"`
model.ModelChangeStatusReq
}
更改模型状态接口请求参数
type ChangeStatusRes ¶
更改模型状态接口响应参数
type CreateReq ¶
type CreateReq struct {
g.Meta `path:"/create" tags:"model" method:"post" summary:"新建模型接口"`
model.ModelCreateReq
}
新建模型接口请求参数
type DeleteReq ¶
type DeleteReq struct {
g.Meta `path:"/delete" tags:"model" method:"post" summary:"删除模型接口"`
Id string `json:"id"`
}
删除模型接口请求参数
type DetailReq ¶
type DetailReq struct {
g.Meta `path:"/detail" tags:"model" method:"get" summary:"模型详情接口"`
Id string `json:"id"`
}
模型详情接口请求参数
type DetailRes ¶
type DetailRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.ModelDetailRes
}
模型详情接口响应参数
type ListReq ¶
type ListReq struct {
g.Meta `path:"/list" 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" tags:"model" method:"post" summary:"模型分页列表接口"`
model.ModelPageReq
}
模型分页列表接口请求参数
type PageRes ¶
type PageRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.ModelPageRes
}
模型分页列表接口响应参数
Click to show internal directories.
Click to hide internal directories.