银豹创建商品测试

This commit is contained in:
苏尹岚
2020-03-20 18:12:38 +08:00
parent 95b28dbff2
commit da84d8f2b3
2 changed files with 5 additions and 0 deletions

View File

@@ -431,6 +431,9 @@ func AddStoreCategoryMap(db *DaoDB, storeID, categoryID int, vendorID int, vendo
} else if vendorID == model.VendorIDEBAI {
storeCat.EbaiID = utils.Str2Int64WithDefault(vendorCategoryID, 0)
storeCat.EbaiSyncStatus = status
} else if vendorID == model.VendorIDYB {
storeCat.YbID = utils.Str2Int64WithDefault(vendorCategoryID, 0)
storeCat.YbSyncStatus = status
} else {
panic("unsupported vendor")
}