From 6fbd1af5ad9ebb36499fd614ec9cd322cc853fb2 Mon Sep 17 00:00:00 2001 From: sian Date: Mon, 1 Aug 2022 17:21:42 +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 | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/supply/sku.go b/supply/sku.go index 31b1dd1..24a0725 100644 --- a/supply/sku.go +++ b/supply/sku.go @@ -148,24 +148,29 @@ func (s *sku) Lists(ctx context.Context, args ArgsSkuLists) (reply ReplySkuList, } type SkuInfo struct { - Id uint `json:"id"` - Name string `json:"name"` - SourceSkuId string `json:"jdSkuId"` - SupplyPrice decimal.Decimal `json:"supplyPrice"` - GuidePrice decimal.Decimal `json:"guidePrice"` - Profit decimal.Decimal `json:"profit"` - UpcCode string `json:"upcCode"` - Color string `json:"color"` - Size string `json:"size"` - FirstCategoryName string `json:"firstCategoryName"` - SecondCategoryName string `json:"secondCategoryName"` - ThirdCategoryName string `json:"thirdCategoryName"` - BrandName string `json:"brandName"` - Content string `json:"content"` - Tax string `json:"tax"` - Unit string `json:"unit"` - Imgs []SkuImg `json:"imgs"` - Reason string `json:"reason"` + Id uint `json:"id"` + Name string `json:"name"` + SourceSkuId string `json:"jdSkuId"` + SupplyPrice decimal.Decimal `json:"supplyPrice"` + GuidePrice decimal.Decimal `json:"guidePrice"` + Profit decimal.Decimal `json:"profit"` + UpcCode string `json:"upcCode"` + Color string `json:"color"` + Size string `json:"size"` + FirstCategoryName string `json:"firstCategoryName"` + SecondCategoryName string `json:"secondCategoryName"` + ThirdCategoryName string `json:"thirdCategoryName"` + BrandName string `json:"brandName"` + Content string `json:"content"` + Tax string `json:"tax"` + Unit string `json:"unit"` + Imgs []SkuImg `json:"imgs"` + Reason string `json:"reason"` + Specifications []SkuSpecification `json:"specification"` + PlatformStatus uint `json:"platformStatus"` + SourceName string `json:"sourceName"` + AdjustType uint `json:"adjustType"` + AdjustPrice decimal.Decimal `json:"adjustPrice"` } // Info @Title 商品信息