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"` // 标准类别