From a13e362943b130196968f3a4b6961a96505bd501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Sat, 9 May 2020 16:10:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E5=95=86=E5=9C=BA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jdshop/store_sku.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/business/partner/purchase/jdshop/store_sku.go b/business/partner/purchase/jdshop/store_sku.go index 177f56c0e..ec0c7061c 100644 --- a/business/partner/purchase/jdshop/store_sku.go +++ b/business/partner/purchase/jdshop/store_sku.go @@ -220,11 +220,10 @@ func updateOrCreateCategories(storeCat *dao.SkuStoreCatInfo, isCreate bool) (err createShopCategoryParam2.ID = "1" createShopCategoryParams = append(createShopCategoryParams, createShopCategoryParam2) } else { - createShopCategoryParam2.Type = jdshopapi.UpdateCatType - createShopCategoryParam2.ID = storeCat.VendorCatID for _, v := range createShopCategoryParams { if v.ID == storeCat.VendorCatID { - v = createShopCategoryParam2 + v.Title = createShopCategoryParam2.Title + v.OrderNo = createShopCategoryParam2.OrderNo } } }