From e371986081eca700b121ff53e20dea9ec042542c Mon Sep 17 00:00:00 2001 From: sian Date: Mon, 7 Nov 2022 17:23:55 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9i?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supplier/goods.go | 1 + 1 file changed, 1 insertion(+) diff --git a/supplier/goods.go b/supplier/goods.go index 18c8021..dfc6cab 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -117,6 +117,7 @@ type SkuItem struct { TaxCode string `json:"taxCode"` Unit string `json:"uint"` Tax decimal.Decimal `json:"tax"` + Img string `json:"img"` } // Info @Title 商品详情 From e189a61c21a869c84702716dc9e1cff7efa89841 Mon Sep 17 00:00:00 2001 From: sian Date: Tue, 8 Nov 2022 10:48:55 +0800 Subject: [PATCH 2/5] =?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 | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/supplier/goods.go b/supplier/goods.go index dfc6cab..a803995 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -25,19 +25,19 @@ 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"` - SkuItems []GoodsItemLists `json:"skuItems"` - UpcCodes []string `json:"upcCodes"` - StockCount uint `json:"stockCount"` - MinPrice decimal.Decimal `json:"minPrice"` - GuidePrice decimal.Decimal `json:"guidePrice"` - 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"` + UpcCodes []string `json:"upcCodes"` + StockCount uint `json:"stockCount"` + GuidePrices []decimal.Decimal `json:"guidePrices"` + SupplyPrices []decimal.Decimal `json:"supplyPrices"` + CreatedAt int64 `json:"createdAt"` } type GoodsItemLists struct { From fd2534ca68f40ad36545550280546dac4dd55799 Mon Sep 17 00:00:00 2001 From: sian Date: Wed, 9 Nov 2022 15:13:11 +0800 Subject: [PATCH 3/5] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supplier/goods.go b/supplier/goods.go index a803995..aa6311c 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -11,7 +11,7 @@ type goods struct { } type GoodsSearch struct { Name string // 商品名称 - CategoryId uint64 // 类目id + CategoryIds []uint // 类目id BrandName string // 品牌名 UpcCode string // 商品条码 Handle uint // 处理状态 1=待处理 2=入库 3=废弃 From be531e698cf45d1c1c0fa807d885995e6215f8fc Mon Sep 17 00:00:00 2001 From: sian Date: Wed, 9 Nov 2022 15:22:56 +0800 Subject: [PATCH 4/5] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supplier/goods.go b/supplier/goods.go index aa6311c..2550b79 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -11,7 +11,7 @@ type goods struct { } type GoodsSearch struct { Name string // 商品名称 - CategoryIds []uint // 类目id + CategoryId uint // 类目id BrandName string // 品牌名 UpcCode string // 商品条码 Handle uint // 处理状态 1=待处理 2=入库 3=废弃 From b55ae6da7cf11db775d0e094bf61d9efe666502e Mon Sep 17 00:00:00 2001 From: sian Date: Wed, 9 Nov 2022 15:54:27 +0800 Subject: [PATCH 5/5] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supplier/goods.go b/supplier/goods.go index 2550b79..aa6311c 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -11,7 +11,7 @@ type goods struct { } type GoodsSearch struct { Name string // 商品名称 - CategoryId uint // 类目id + CategoryIds []uint // 类目id BrandName string // 品牌名 UpcCode string // 商品条码 Handle uint // 处理状态 1=待处理 2=入库 3=废弃