- fix typo token to v.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user