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 } } }