- 饿百支持仅传cat3了

This commit is contained in:
gazebo
2019-09-20 17:18:33 +08:00
parent b48281d893
commit 190793d6ec
2 changed files with 21 additions and 18 deletions

View File

@@ -240,10 +240,10 @@ func genSkuParamsFromStoreSkuInfo2(storeSku *dao.StoreSkuSyncInfo, isCreate bool
"left_num": model.MaxStoreSkuStockQty,
"category_id": utils.Str2Int64(storeSku.VendorCatID),
"predict_cat": 0, // 不使用推荐类目
"cat1_id": getEbaiCat(storeSku.VendorVendorCatID3, 1),
"cat2_id": getEbaiCat(storeSku.VendorVendorCatID2, 2),
"cat3_id": getEbaiCat(storeSku.VendorVendorCatID, 3),
"weight": storeSku.Weight,
// "cat1_id": getEbaiCat(storeSku.VendorVendorCatID3, 1),
// "cat2_id": getEbaiCat(storeSku.VendorVendorCatID2, 2),
"cat3_id": getEbaiCat(storeSku.VendorVendorCatID, 3),
"weight": storeSku.Weight,
"photos": []map[string]interface{}{
map[string]interface{}{
"is_master": true,