This commit is contained in:
邹宗楠
2023-02-10 18:42:01 +08:00
parent ed89f1aa8b
commit 7da4d1dd39
4 changed files with 972 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
package ebaiapi
import (
"fmt"
"testing"
"git.rosy.net.cn/baseapi/utils"
@@ -16,7 +17,7 @@ func TestShopCategoryCreate(t *testing.T) {
}
func TestShopCategoryGet(t *testing.T) {
result, err := api.ShopCategoryGet("300034")
result, err := api.ShopCategoryGet("100274")
if err != nil {
t.Fatal(err)
} else {
@@ -271,3 +272,8 @@ func TestGetEbaiSkuIDFromCustomID(t *testing.T) {
ebaiCatID := api.GetEbaiSkuIDFromCustomID("300001", "31554")
t.Log(ebaiCatID)
}
func TestDeleteStoreSku(t *testing.T) {
fmt.Println((49 & 4) == 0)
}

View File

@@ -53,7 +53,7 @@ func TestShopCreate(t *testing.T) {
}
func TestShopGet(t *testing.T) {
result, err := api.ShopGet2("", 32267315064) //2233065879 ,22267134648
result, err := api.ShopGet2("", 1101809925) //2233065879 ,22267134648
if err != nil {
t.Fatal(err)
} else {