支持京东商城同步
This commit is contained in:
@@ -439,6 +439,9 @@ func AddStoreCategoryMap(db *DaoDB, storeID, categoryID int, vendorID int, vendo
|
||||
} else if vendorID == model.VendorIDYB {
|
||||
storeCat.YbID = utils.Str2Int64WithDefault(vendorCategoryID, 0)
|
||||
storeCat.YbSyncStatus = status
|
||||
} else if vendorID == model.VendorIDJDShop {
|
||||
storeCat.JdsID = utils.Str2Int64WithDefault(vendorCategoryID, 0)
|
||||
storeCat.JdsSyncStatus = status
|
||||
} else {
|
||||
panic("unsupported vendor")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user