增添jd的订单拆分接口
This commit is contained in:
@@ -144,7 +144,7 @@ func (a *API) AccessAPI(apiStr string, jdParams map[string]interface{}) (retVal
|
||||
sign := a.signParams(params)
|
||||
params[signKey] = sign
|
||||
request, _ := http.NewRequest(http.MethodGet, utils.GenerateGetURL(prodURL, apiStr, params), nil)
|
||||
request.Close = true //todo 为了避免EOF错误
|
||||
//request.Close = true //todo 为了性能考虑
|
||||
err = platformapi.AccessPlatformAPIWithRetry(a.client, request, a.config, func(response *http.Response) (errLevel string, err error) {
|
||||
jsonResult1, err := utils.HTTPResponse2Json(response)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user