- ebaiapi.SkuShopCategoryMap

This commit is contained in:
gazebo
2019-07-23 18:07:15 +08:00
parent fbb97e9f3b
commit 3c5a0adb95
3 changed files with 17 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ func TestSkuUpdate(t *testing.T) {
}
func TestSkuShopCategoryMap(t *testing.T) {
err := api.SkuShopCategoryMap(testShopID, 15378849314129969, "153760472317166")
err := api.SkuShopCategoryMap(testShopID, 0, "2212", 15637192270716, 100)
if err != nil {
t.Fatal(err)
}
@@ -191,3 +191,8 @@ func TestGetEbaiCatIDFromName(t *testing.T) {
ebaiCatID := api.GetEbaiCatIDFromName("300280", "应季水果新鲜美味")
t.Log(ebaiCatID)
}
func TestGetEbaiSkuIDFromCustomID(t *testing.T) {
ebaiCatID := api.GetEbaiSkuIDFromCustomID("300001", "31554")
t.Log(ebaiCatID)
}