This commit is contained in:
suyl
2021-09-17 09:52:32 +08:00
parent 737c14dd03
commit 7d2aba87db

View File

@@ -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)