- 整理饿百与京东PAGE API

This commit is contained in:
gazebo
2019-06-24 11:25:40 +08:00
parent e2bc700427
commit d2597c2673
4 changed files with 297 additions and 7 deletions

View File

@@ -114,6 +114,14 @@ func TestGetStoreList(t *testing.T) {
t.Log(utils.Format4Output(result, false))
}
func TestGetStoreList2(t *testing.T) {
result, err := api.GetStoreList2(104.057218, 30.6949)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestGetStoreInfo(t *testing.T) {
result, err := api.GetStoreInfo("170879219")
if err != nil {
@@ -121,3 +129,11 @@ func TestGetStoreInfo(t *testing.T) {
}
t.Log(utils.Format4Output(result, false))
}
func TestGetStoreInfo2(t *testing.T) {
result, err := api.GetStoreInfo2("170879219")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}