- AccessPlatformAPIWithRetry的回调handleResponse添加response参数
- 饿百从网页取门店健康信息
This commit is contained in:
@@ -147,7 +147,7 @@ func (a *API) AccessAPI(action string, params map[string]interface{}, bodyMap ma
|
||||
return request
|
||||
},
|
||||
a.config,
|
||||
func(jsonResult1 map[string]interface{}) (result string, err error) {
|
||||
func(response *http.Response, jsonResult1 map[string]interface{}) (result string, err error) {
|
||||
errCode := int(utils.MustInterface2Int64(jsonResult1["errcode"]))
|
||||
if errCode == ResponseCodeSuccess {
|
||||
retVal = jsonResult1
|
||||
|
||||
Reference in New Issue
Block a user