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) // 其他水果