- change jdapi params type from map[string]string to map[string]interface{}.
This commit is contained in:
@@ -57,7 +57,7 @@ func (j *JDAPI) unmarshalData(strData string, msg interface{}) (callbackResponse
|
||||
}
|
||||
|
||||
func (j *JDAPI) CheckCallbackValidation(request *http.Request) (callbackResponse *JDCallbackResponse) {
|
||||
mapData := make(map[string]string)
|
||||
mapData := make(map[string]interface{})
|
||||
mapData["token"] = request.FormValue("token")
|
||||
mapData["app_key"] = request.FormValue("app_key")
|
||||
mapData["timestamp"] = request.FormValue("timestamp")
|
||||
|
||||
Reference in New Issue
Block a user