From 2ee20f6bcb31e9e8773caebebbf7704992c43132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 28 Apr 2025 18:24:15 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index f958b2c75..63943e548 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -6562,6 +6562,7 @@ func CopyMtToJd(ctx *jxcontext.Context, mtStoreID, mtOrgCode, jdStoreID, jdOrgCo //db = dao.GetDB() catMap = make(map[string]string) LoopCatChild funcType + handler, _ = partner.GetPurchasePlatformFromVendorID(model.VendorIDJD).(partner.IPurchasePlatformStoreSkuHandler) ) jd := jd.GetAPI(jdOrgCode) @@ -6639,7 +6640,6 @@ func CopyMtToJd(ctx *jxcontext.Context, mtStoreID, mtOrgCode, jdStoreID, jdOrgCo if param.OutSkuID == "" { param.OutSkuID = fmt.Sprintf("%d_%d", time.Now().Unix(), param.SkuPrice) } - handler, _ := partner.GetPurchasePlatformFromVendorID(model.VendorIDDD).(partner.IPurchasePlatformStoreSkuHandler) vendorCategoryId, _ := handler.GetSkuCategoryIdByName(jdOrgCode, mtSku.Name) if vendorCategoryId != "" { param.CategoryID = utils.Str2Int64(vendorCategoryId) // 其他水果