This commit is contained in:
苏尹岚
2020-11-27 10:26:49 +08:00
parent a5cb1b89bd
commit 49fc7d83d6
4 changed files with 45 additions and 33 deletions

View File

@@ -297,7 +297,7 @@ func TestImageUpdate(t *testing.T) {
}
func TestSearchWare4Valid(t *testing.T) {
result, err := api.SearchWare4Valid("三线肉", 1, 100)
result, err := api.SearchWare4Valid("鸡毛菜", 1, 100)
if err != nil {
t.Fatal(err)
}
@@ -385,7 +385,7 @@ func ConvertDistanceToLogLat(lng, lat, distance, angle float64) (newLng, newLat
}
func TestFindWareById(t *testing.T) {
result, err := api.FindWareById(10020536283882)
result, err := api.FindWareById(10020536637379)
if err != nil {
t.Fatal(err)
}
@@ -418,7 +418,7 @@ func TestUpdateWareSaleAttrvalueAlias(t *testing.T) {
}
func TestSearchSkuList(t *testing.T) {
result, _, err := api.SearchSkuList2([]int{10020536283882})
result, _, err := api.SearchSkuList2([]int{10020537029118})
if err != nil {
t.Fatal(err)
}