aa
This commit is contained in:
@@ -53,8 +53,8 @@ func syncCategories(ctx *jxcontext.Context, db *dao.DaoDB, parentTask tasksch.IT
|
||||
}
|
||||
//表示是不用京西分类,要用平台分类
|
||||
if catVendorInfo.IsJxCat == model.YES {
|
||||
catVendorInfo.Seq = catVendorInfo.VendorCategorySeq
|
||||
if catVendorInfo.VendorCategoryName != "" {
|
||||
if catVendorInfo.VendorCategoryID != 0 {
|
||||
catVendorInfo.Seq = catVendorInfo.VendorCategorySeq
|
||||
catVendorInfo.Name = catVendorInfo.VendorCategoryName
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,6 +52,7 @@ type SkuStoreCatInfo struct {
|
||||
|
||||
VendorCategoryName string
|
||||
VendorCategorySeq int
|
||||
VendorCategoryID int `orm:"column(vendor_category_id)"`
|
||||
}
|
||||
|
||||
type StoreSkuSyncInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user