修改京东im

This commit is contained in:
邹宗楠
2025-12-19 13:46:06 +08:00
parent 711d240cad
commit 51eac765f8
3 changed files with 41 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ import (
"encoding/json"
"errors"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"net/http"
"reflect"
"sort"
@@ -195,6 +196,7 @@ func (a *API) AccessAPI2(apiStr string, jdParams map[string]interface{}, traceIn
userGet = false
}
params["jd_param_json"] = jdParamStr
globals.SugarLogger.Debugf("------paramas := %s", utils.Format4Output(params, false))
err = platformapi.AccessPlatformAPIWithRetry(a.client,
func() *http.Request {
params["timestamp"] = utils.GetCurTimeStr()