diff --git a/controllers/jd_callback.go b/controllers/jd_callback.go index 6713c907d..44db1a544 100644 --- a/controllers/jd_callback.go +++ b/controllers/jd_callback.go @@ -22,9 +22,11 @@ type DjswController struct { func (c *DjswController) handleMsg(handler func(*jdapi.API, interface{}) *jdapi.CallbackResponse) (callbackResponse *jdapi.CallbackResponse) { callbackMsg, mapData, callbackResponse := jdapi.GetCallbackMsg(getUsefulRequest(c.Ctx)) globals.SugarLogger.Debug(utils.Format4Output(callbackMsg, true)) + globals.SugarLogger.Debug(utils.Format4Output(callbackResponse, true)) if callbackResponse == nil { if jdAPI := jd.GetAPI(jd.AppKey2OrgCode(callbackMsg.AppKey)); jdAPI != nil { if callbackResponse = jdAPI.CheckCallbackValidation(mapData, callbackMsg.Sign); callbackResponse == nil { + globals.SugarLogger.Debugf("22222222222222222222222222222222222222", utils.Format4Output(callbackResponse, true)) callbackResponse = handler(jdAPI, callbackMsg.Param) } } else {