jsshopapi 测试

This commit is contained in:
苏尹岚
2020-05-09 14:47:28 +08:00
parent f0413afd4e
commit 49a48893b2

View File

@@ -1,6 +1,7 @@
package jdshop package jdshop
import ( import (
"fmt"
"regexp" "regexp"
"git.rosy.net.cn/baseapi/platformapi/jdshopapi" "git.rosy.net.cn/baseapi/platformapi/jdshopapi"
@@ -214,6 +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"))
err = api.JdShopAPI.CreateShopCategory(createShopCategoryParams) err = api.JdShopAPI.CreateShopCategory(createShopCategoryParams)
return err return err
} }