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