From 928c91a74272c6ee9ef26ab70c2a1fa8caeaf0f6 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 15:01:29 +0800 Subject: [PATCH] =?UTF-8?q?jsshopapi=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jdshop/store_sku.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/partner/purchase/jdshop/store_sku.go b/business/partner/purchase/jdshop/store_sku.go index 003e6deb7..128eb15f5 100644 --- a/business/partner/purchase/jdshop/store_sku.go +++ b/business/partner/purchase/jdshop/store_sku.go @@ -215,7 +215,8 @@ func updateOrCreateCategories(storeCat *dao.SkuStoreCatInfo, isCreate bool) (err createShopCategoryParam2.ID = storeCat.VendorCatID } createShopCategoryParams = append(createShopCategoryParams, createShopCategoryParam2) - fmt.Println("test11111111111111111111", utils.Format4Output(api.JdShopAPI, false)) + fmt.Println("test11111111111111111111", utils.Format4Output(api.JdShopAPI.GetCookieCount(), false)) + fmt.Println("test11111111111111111111", utils.Format4Output(api.JdShopAPI.APICookie, false)) err = api.JdShopAPI.CreateShopCategory(createShopCategoryParams) return err }