From 7d2aba87db7c32aa56f155b4cd0e92c06a32fc3e Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 17 Sep 2021 09:52:32 +0800 Subject: [PATCH] aa --- platformapi/jdshopapi/store_page.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/jdshopapi/store_page.go b/platformapi/jdshopapi/store_page.go index 2a4276c6..96d51fba 100644 --- a/platformapi/jdshopapi/store_page.go +++ b/platformapi/jdshopapi/store_page.go @@ -240,7 +240,7 @@ type CreateShopCategoryParam struct { //京东商城创建或修改店内分类 //https://seller.shop.jd.com/vendershop/vendershop_shopCategory.action# func (a *API) CreateShopCategory(createShopCategoryParam []*CreateShopCategoryParam) (status int64, err error) { - data, _ := json.Marshal(createShopCategoryParam) + data, _ := json.MarshalIndent(createShopCategoryParam, "", "") result, err := a.AccessStorePage(categoryURL, map[string]interface{}{ "categoryJson": string(data), }, true)