This commit is contained in:
邹宗楠
2023-12-04 16:39:57 +08:00
parent 775f52dc02
commit 968a3f7cc3

View File

@@ -2,6 +2,7 @@ package jdapi
import (
"encoding/json"
"git.rosy.net.cn/jx-callback/globals"
"io/ioutil"
"net/http"
"strings"
@@ -262,6 +263,8 @@ func GetCallbackMsg(request *http.Request) (callbackMsg *CallbackMsg, mapData ma
if err != nil {
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])
//if err != nil {
// return nil, nil, FormatErrorResponse