From a145861b5a094901ef0224f67d28881a6967a815 Mon Sep 17 00:00:00 2001 From: zhangwei <894646498@qq.com> Date: Wed, 11 Oct 2023 10:20:37 +0800 Subject: [PATCH] =?UTF-8?q?api=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: d00897a5fbbe4ba1b64fa189e3593ff111340687 --- api/internal/types/types.go | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/api/internal/types/types.go b/api/internal/types/types.go index def4b14f..ac41c0bb 100644 --- a/api/internal/types/types.go +++ b/api/internal/types/types.go @@ -2758,9 +2758,8 @@ type DeleteLinkImageReq struct { } type DeleteLinkImageResp struct { - Success bool `json:"success"` - Image ImageSl `json:"image"` - ErrorMsg string `json:"errorMsg"` + Success bool `json:"success"` + ErrorMsg string `json:"errorMsg"` } type SubmitLinkTaskReq struct { @@ -2799,7 +2798,6 @@ type DeleteLinkTaskReq struct { type DeleteLinkTaskResp struct { Success bool `json:"success"` - TaskId string `json:"taskId"` ErrorMsg string `json:"errorMsg"` } @@ -2828,10 +2826,11 @@ type GetResourceSpecsResp struct { } type ResourceSpecSl struct { - ParticipantId string `json:"participantId"` - ParticipantName string `json:"participantName"` - SpecName string `json:"resourceSpecName"` - SpecId string `json:"resourceSpecId"` + ParticipantId string `json:"participantId"` + ParticipantName string `json:"participantName"` + SpecName string `json:"specName"` + SpecId string `json:"specId"` + SpecPrice float64 `json:"specPrice"` } type ParticipantSl struct {