- ebaiapi.SkuShopCategoryMap
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user