1
This commit is contained in:
@@ -56,7 +56,7 @@ func (a *API) AccessAPI(baseUrl, action, method string, pathParam string, bizPar
|
||||
func() *http.Request {
|
||||
var request *http.Request
|
||||
if http.MethodPost == method {
|
||||
// 全路径请求参数
|
||||
// 全路径请求参数s
|
||||
fullURL := utils.GenerateGetURL(baseUrl, action, nil)
|
||||
request, _ = http.NewRequest(http.MethodPost, fullURL, strings.NewReader(utils.Map2URLValues(bizParams).Encode()))
|
||||
request.Header.Set("charset", "UTF-8")
|
||||
|
||||
Reference in New Issue
Block a user