From 24de88ef74476a0b9e64df67ae9e2b33c5ce2059 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 1 Sep 2022 16:24:03 +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 | 21 +++++++++++---------- supplier/supplier.go | 15 +++++++-------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/supplier/goods.go b/supplier/goods.go index 5bf7b07..d299c9f 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -73,16 +73,17 @@ type ArgsGoodsInfo struct { } type ReplyGoodsInfo struct { - Id uint `json:"id"` - Name string `json:"name"` - SupplierId uint `json:"supplierId"` - CategoryId uint `json:"categoryId"` - BrandId uint `json:"brandId"` - Imgs []string `json:"imgs"` - Content string `json:"content"` - Attributes []GoodsAttributeItem `json:"attributes"` - Skus []SkuItem `json:"skus"` - Status uint `json:"status"` + Id uint `json:"id"` + Name string `json:"name"` + SupplierId uint `json:"supplierId"` + SupplierName string `json:"supplierName"` + CategoryId uint `json:"categoryId"` + BrandId uint `json:"brandId"` + Imgs []string `json:"imgs"` + Content string `json:"content"` + Attributes []GoodsAttributeItem `json:"attributes"` + Skus []SkuItem `json:"skus"` + Status uint `json:"status"` } type GoodsAttributeItem struct { diff --git a/supplier/supplier.go b/supplier/supplier.go index a47e938..f98d469 100644 --- a/supplier/supplier.go +++ b/supplier/supplier.go @@ -53,14 +53,13 @@ type ReplySupplierLists struct { } type SupplierItem struct { - Id uint - SupplierName string // 供应商名称 - Status uint // 状态 - Prepayment decimal.Decimal // 预付款余额 - WarnStatus uint // 预警状态 - ApplyUserId uint // 创建人Id - ApplyUserName string // 创建人名称 - CreatedAt int64 // 创建时间 + Id uint + SupplierName string // 供应商名称 + Status uint // 状态 + Prepayment decimal.Decimal // 预付款余额 + WarnStatus uint // 预警状态 + ApplyUserId uint // 创建人Id + CreatedAt int64 // 创建时间 } // Lists @Title 供应商列表