jsshopapi 测试

This commit is contained in:
苏尹岚
2020-05-09 14:57:05 +08:00
parent 49a48893b2
commit 0a92c39412

View File

@@ -215,7 +215,7 @@ func updateOrCreateCategories(storeCat *dao.SkuStoreCatInfo, isCreate bool) (err
createShopCategoryParam2.ID = storeCat.VendorCatID createShopCategoryParam2.ID = storeCat.VendorCatID
} }
createShopCategoryParams = append(createShopCategoryParams, createShopCategoryParam2) createShopCategoryParams = append(createShopCategoryParams, createShopCategoryParam2)
fmt.Println("test1111111111111111111111111111", api.JdShopAPI.GetCookie("thor")) fmt.Println("test11111111111111111111", utils.Format4Output(api.JdShopAPI, false))
err = api.JdShopAPI.CreateShopCategory(createShopCategoryParams) err = api.JdShopAPI.CreateShopCategory(createShopCategoryParams)
return err return err
} }