From 1f0418f28eafef368f814bd0b9ed14363d51f7dc Mon Sep 17 00:00:00 2001 From: sian Date: Tue, 30 Aug 2022 09:10:06 +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 --- supplier/goods.go | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/supplier/goods.go b/supplier/goods.go index 49bcc0e..9e636c2 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -27,18 +27,17 @@ type ArgsGoodsList struct { } type GoodsItem struct { - Id uint `json:"id"` - Name string `json:"name"` - Img string `json:"img"` - GoodsNum string `json:"goodsNum"` - CategoryId uint `json:"categoryId"` - BrandId uint `json:"brandId"` - BrandName string `json:"brandName"` - GoodsSpecs []GoodsSpecificationItem `json:"goodsSpecs"` - SkuItems []GoodsItemLists `json:"skuItems"` - StockCount uint `json:"stockCount"` - MinPrice decimal.Decimal `json:"minPrice"` - CreatedAt int64 `json:"createdAt"` + Id uint `json:"id"` + Name string `json:"name"` + Img string `json:"img"` + GoodsNum string `json:"goodsNum"` + CategoryId uint `json:"categoryId"` + BrandId uint `json:"brandId"` + BrandName string `json:"brandName"` + SkuItems []GoodsItemLists `json:"skuItems"` + StockCount uint `json:"stockCount"` + MinPrice decimal.Decimal `json:"minPrice"` + CreatedAt int64 `json:"createdAt"` } type GoodsItemLists struct {