Browse Source

api代码生成

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

Former-commit-id: 0c40e5f84c
pull/9/head
devad 2 years ago
parent
commit
1a85671a2d
1 changed files with 18 additions and 18 deletions
  1. +18
    -18
      api/internal/types/types.go

+ 18
- 18
api/internal/types/types.go 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 {


Loading…
Cancel
Save