This commit is contained in:
苏尹岚
2020-05-20 17:00:38 +08:00
parent ef88fd0fb6
commit df3217366e
3 changed files with 4 additions and 2 deletions

View File

@@ -117,6 +117,8 @@ func AccessPlatformAPIWithRetry(client *http.Client, handleRequest func() *http.
}
trackInfo += ", " + utils.GetUUID()
baseapi.SugarLogger.Debugf("begin AccessPlatformAPIWithRetry:%s do:%s url:%v, request:%s", trackInfo, request.Method, request.URL, getClonedData(request.URL, savedBuf))
fmt.Println("test1", utils.Format4Output(request, false))
fmt.Println("test1", utils.Format4Output(request.Context(), false))
response, err := client.Do(request)
usedMilliSecond := time.Now().Sub(beginTime) / time.Millisecond
baseapi.SugarLogger.Debugf("end AccessPlatformAPIWithRetry:%s do:%s url:%v, usedMilliSecond:%d", trackInfo, request.Method, request.URL, usedMilliSecond)