From 7ae7f09b2995a2a2d8ccc88347cd78d09ab756d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 21 Jul 2020 18:12:45 +0800 Subject: [PATCH] =?UTF-8?q?jcq=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/jcqapi/jcqapi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformapi/jcqapi/jcqapi.go b/platformapi/jcqapi/jcqapi.go index 70f7c0b7..6e2f424f 100644 --- a/platformapi/jcqapi/jcqapi.go +++ b/platformapi/jcqapi/jcqapi.go @@ -68,8 +68,8 @@ func (a *API) signParam(params map[string]interface{}) (sig string) { func (a *API) AccessAPI(action string, url string, bizParams map[string]interface{}) (retVal map[string]interface{}, err error) { params := make(map[string]interface{}) time := time.Now().UTC().Format(time.RFC3339) - params["accessKey"] = a.accessKey - params["dateTime"] = time + bizParams["accessKey"] = a.accessKey + bizParams["dateTime"] = time params = utils.MergeMaps(params, bizParams) delete(params, "accessKey") delete(params, "dateTime")