api代码生成

Signed-off-by: devad <cossjie@foxmail.com>

Former-commit-id: 0c40e5f84cfe050d3ecb8a640c3cdd11a4ec5f42
This commit is contained in:
devad 2023-10-26 15:06:16 +08:00
parent a27df05a72
commit 1a85671a2d
1 changed files with 18 additions and 18 deletions

View File

@ -3344,9 +3344,9 @@ type UploadLinkImageReq struct {
} }
type UploadLinkImageResp struct { type UploadLinkImageResp struct {
Success bool `json:"success"` Success bool `json:"success"`
Image ImageSl `json:"image"` Image *ImageSl `json:"image"`
ErrorMsg string `json:"errorMsg"` ErrorMsg string `json:"errorMsg"`
} }
type ImageSl struct { type ImageSl struct {
@ -3360,9 +3360,9 @@ type GetLinkImageListReq struct {
} }
type GetLinkImageListResp struct { type GetLinkImageListResp struct {
Success bool `json:"success"` Success bool `json:"success"`
Images []ImageSl `json:"images"` Images []*ImageSl `json:"images"`
ErrorMsg string `json:"errorMsg"` ErrorMsg string `json:"errorMsg"`
} }
type DeleteLinkImageReq struct { type DeleteLinkImageReq struct {
@ -3376,11 +3376,11 @@ type DeleteLinkImageResp struct {
} }
type SubmitLinkTaskReq struct { type SubmitLinkTaskReq struct {
PartId int64 `json:"partId"` PartId int64 `json:"partId"`
ImageId string `json:"imageId"` ImageId string `json:"imageId"`
Cmd string `json:"cmd"` Cmd string `json:"cmd"`
Params []ParamSl `json:"params"` Params []*ParamSl `json:"params"`
ResourceId string `json:"resourceId"` ResourceId string `json:"resourceId"`
} }
type ParamSl struct { type ParamSl struct {
@ -3400,9 +3400,9 @@ type GetLinkTaskReq struct {
} }
type GetLinkTaskResp struct { type GetLinkTaskResp struct {
Success bool `json:"success"` Success bool `json:"success"`
Task TaskSl `json:"task"` Task *TaskSl `json:"task"`
ErrorMsg string `json:"errorMsg"` ErrorMsg string `json:"errorMsg"`
} }
type DeleteLinkTaskReq struct { type DeleteLinkTaskReq struct {
@ -3427,8 +3427,8 @@ type GetParticipantsReq struct {
} }
type GetParticipantsResp struct { type GetParticipantsResp struct {
Success bool `json:"success"` Success bool `json:"success"`
Participants []ParticipantSl `json:"participant"` Participants []*ParticipantSl `json:"participant"`
} }
type GetResourceSpecsReq struct { type GetResourceSpecsReq struct {
@ -3436,8 +3436,8 @@ type GetResourceSpecsReq struct {
} }
type GetResourceSpecsResp struct { type GetResourceSpecsResp struct {
Success bool `json:"success"` Success bool `json:"success"`
ResourceSpecs []ResourceSpecSl `json:"resourceSpecs"` ResourceSpecs []*ResourceSpecSl `json:"resourceSpecs"`
} }
type ResourceSpecSl struct { type ResourceSpecSl struct {