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 供应商列表