From addcca87ae0b3d3580f746625a9cbaec409c2838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 26 Jan 2024 17:13:01 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index fab447d6c..2c6e56786 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -124,9 +124,10 @@ func BatchInitSkuEBai2EBai(ctx *jxcontext.Context, fromSku []*ebaiapi.SkuInfo, t } params["upc"] = storeSku.Upc params["name"] = storeSku.Name - params["cat3_id"] = VendorCategoryIDMap[int64(storeSku.CateId2)] - params["category_id"] = VendorCategoryIDMap[int64(storeSku.CateId)] + params["cat3_id"] = storeSku.CateId + params["category_id"] = VendorCategoryIDMap[utils.Str2Int64(storeSku.CustomCatList[0].CustomCatID)] params["rtf"] = storeSku.Rtf + params["left_num"] = storeSku.LeftNum params["process_type"] = storeSku.ProcessType params["process_detail"] = storeSku.ProcessDetail params["sale_price"] = storeSku.SalePrice