京东商城依稀下列
This commit is contained in:
@@ -125,10 +125,12 @@ func (a *API) AccessAPI2(action string, url string, bizParams map[string]interfa
|
||||
signStr := a.signParam(params)
|
||||
params["sign"] = signStr
|
||||
fullURL := utils.GenerateGetURL(url, "", nil)
|
||||
// rParam, _ := json.Marshal(bizParams)
|
||||
// delete(params, "ware")
|
||||
// delete(params, "skus")
|
||||
// ware := bizParams["ware"].(string)
|
||||
// skus := bizParams["skus"].(string)
|
||||
// str := strings.ReplaceAll(string(rParam), "\\", "")
|
||||
err = platformapi.AccessPlatformAPIWithRetry(a.client,
|
||||
func() *http.Request {
|
||||
request, _ := http.NewRequest(http.MethodPost, fullURL, strings.NewReader(utils.URLQueryEscape(utils.Map2URLValues(params).Encode())))
|
||||
|
||||
Reference in New Issue
Block a user