1
This commit is contained in:
@@ -2,6 +2,7 @@ package jdapi
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"git.rosy.net.cn/jx-callback/globals"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -262,6 +263,8 @@ func GetCallbackMsg(request *http.Request) (callbackMsg *CallbackMsg, mapData ma
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, Err2CallbackResponse(err, "")
|
return nil, nil, Err2CallbackResponse(err, "")
|
||||||
}
|
}
|
||||||
|
globals.SugarLogger.Debugf("==============data := %s", utils.Format4Output(data, false))
|
||||||
|
globals.SugarLogger.Debugf("==============msgURL := %s", msgURL)
|
||||||
//values, err := utils.HTTPBody2Values(data, needDecodeMap[msgURL])
|
//values, err := utils.HTTPBody2Values(data, needDecodeMap[msgURL])
|
||||||
//if err != nil {
|
//if err != nil {
|
||||||
// return nil, nil, FormatErrorResponse
|
// return nil, nil, FormatErrorResponse
|
||||||
|
|||||||
Reference in New Issue
Block a user