From 3eef59ba79a2c5ab5e818ccb0bee7383b8fd0f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 16 Jun 2020 10:34:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E9=A2=9D=E5=A4=96=E5=89=8D?= =?UTF-8?q?=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/sku.go b/business/model/sku.go index 3b8b375a4..f80864861 100644 --- a/business/model/sku.go +++ b/business/model/sku.go @@ -157,7 +157,7 @@ type SkuName struct { ExPrefix string `orm:"size(255)" json:"exPrefix"` ExPrefixBegin *time.Time `orm:"null" json:"exPrefixBegin"` ExPrefixEnd *time.Time `orm:"null" json:"exPrefixEnd"` - ExVendorID int `json:"exVendorID"` + ExVendorID int `orm:"column(ex_vendor_id)" json:"exVendorID"` BrandID int `orm:"column(brand_id);default(0)" json:"brandID"` // todo,此属性暂时没有使用,且有问题,应该是不同平台都有一个brandid CategoryID int `orm:"column(category_id);index" json:"categoryID"` // 标准类别