From 3abbea37175bc018a2651935f02a762e0770d2d1 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 11 Aug 2022 15:03:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/sku.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/supply/sku.go b/supply/sku.go index cfa63b0..4d7dbae 100644 --- a/supply/sku.go +++ b/supply/sku.go @@ -60,8 +60,9 @@ type ArgsSkuAdd struct { } type SkuImg struct { - Id uint `json:"id"` - Path string `json:"path"` + Id uint `json:"id"` + Path string `json:"path"` + ReplacePath string `json:"replacePath"` } type SkuSpecification struct { @@ -238,6 +239,7 @@ func (s *sku) GetImgs(ctx context.Context, skuId uint) (reply []SkuImg, err erro type ArgsReplaceImg struct { Id uint + SkuId uint ReplacePath string }