京东上城商品搜索

This commit is contained in:
苏尹岚
2020-07-08 17:23:02 +08:00
parent 5694ab1360
commit b068f5cc0b
3 changed files with 21 additions and 11 deletions

View File

@@ -319,7 +319,7 @@ func TestImageUpdate(t *testing.T) {
}
func TestSearchWare4Valid(t *testing.T) {
result, err := api.SearchWare4Valid("猕猴桃 奇异果", 0, 0)
result, err := api.SearchWare4Valid("", 0, 0)
if err != nil {
t.Fatal(err)
}
@@ -454,7 +454,7 @@ func TestSearchSkuList(t *testing.T) {
}
func TestAAAAAA(t *testing.T) {
result, err := api.SearchSkuList(14518860227)
result, _, err := api.SearchSkuList(2, 20)
if err != nil {
t.Fatal(err)
}