- fix typo token to v.

This commit is contained in:
gazebo
2018-06-19 22:11:18 +08:00
parent 27919a36fc
commit 7c6f6e6534

View File

@@ -61,7 +61,7 @@ func (j *JDAPI) CheckRequestValidation(request *http.Request) (callbackResponse
mapData["timestamp"] = request.FormValue("timestamp")
mapData["format"] = request.FormValue("format")
mapData["app_secret"] = j.appSecret
mapData["v"] = request.FormValue("token")
mapData["v"] = request.FormValue("v")
mapData[JD_PARAM_JSON] = request.FormValue(JD_PARAM_JSON)
sign := j.signParams(mapData)