From 968a3f7cc382b007b3fd6efc38254f255232cb22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 4 Dec 2023 16:39:57 +0800 Subject: [PATCH] 1 --- platformapi/jdapi/callback.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platformapi/jdapi/callback.go b/platformapi/jdapi/callback.go index 2925ae63..3d191953 100644 --- a/platformapi/jdapi/callback.go +++ b/platformapi/jdapi/callback.go @@ -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