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

@ -3345,7 +3345,7 @@ 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"`
} }
@ -3361,7 +3361,7 @@ 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"`
} }
@ -3379,7 +3379,7 @@ 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"`
} }
@ -3401,7 +3401,7 @@ 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"`
} }
@ -3428,7 +3428,7 @@ 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 {
@ -3437,7 +3437,7 @@ 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 {