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 }