- AccessPlatformAPIWithRetry的回调handleResponse添加response参数

- 饿百从网页取门店健康信息
This commit is contained in:
gazebo
2019-06-11 16:39:52 +08:00
parent cae38a9a4c
commit eb009df26d
18 changed files with 261 additions and 32 deletions

View File

@@ -81,3 +81,27 @@ func TestPageGetCustomCatList(t *testing.T) {
baseapi.SugarLogger.Debug(utils.Format4Output(catList, false))
}
}
func TestSwitchShop(t *testing.T) {
cookie, err := api.SwitchShop(2233065941)
if err != nil {
t.Fatal(err)
}
t.Log(cookie)
}
func TestGetShopUserInfo(t *testing.T) {
result, err := api.GetShopUserInfo(32267034127)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestGetShopHealthByDetail(t *testing.T) {
result, err := api.GetShopHealthByDetail(32267034127)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}