This commit is contained in:
richboo111
2023-01-31 18:15:02 +08:00
parent 3ec66406c5
commit 5fadd0f549
2 changed files with 6 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ import (
"fmt"
"git.rosy.net.cn/baseapi/platformapi"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"math/rand"
"net/http"
"sort"
@@ -76,6 +77,7 @@ func (a *API) AccessAPI(baseUrl, actionApi, method string, bizParams map[string]
//}
//完整请求url
fullPath := utils.GenerateGetURL(baseUrl, actionApi, nil)
globals.SugarLogger.Debugf("uupt fullPath======%s", fullPath)
//发送请求
sendUrl := func() *http.Request {
var request *http.Request