This commit is contained in:
苏尹岚
2020-11-26 16:07:08 +08:00
parent 2cfd3075bb
commit a5cb1b89bd
4 changed files with 73 additions and 61 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,11 +385,11 @@ func ConvertDistanceToLogLat(lng, lat, distance, angle float64) (newLng, newLat
}
func TestFindWareById(t *testing.T) {
err := api.FindWareById(10020528071531)
result, err := api.FindWareById(10020536283882)
if err != nil {
t.Fatal(err)
}
// t.Log(utils.Format4Output(result, false))
t.Log(utils.Format4Output(result, false))
}
func TestTransparentImageAdd(t *testing.T) {
@@ -418,7 +418,7 @@ func TestUpdateWareSaleAttrvalueAlias(t *testing.T) {
}
func TestSearchSkuList(t *testing.T) {
result, _, err := api.SearchSkuList2([]int{10020528071531})
result, _, err := api.SearchSkuList2([]int{10020536283882})
if err != nil {
t.Fatal(err)
}