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