This commit is contained in:
邹宗楠
2022-11-17 17:44:34 +08:00
parent 22d9045562
commit 5806a9fad8
8 changed files with 20 additions and 32 deletions

View File

@@ -22,7 +22,6 @@ func (t *CallbackController) Msg(c *gin.Context) {
func (t *CallbackController) TlPayCallback(c *gin.Context) {
data, _ := ioutil.ReadAll(c.Request.Body)
globals.SugarLogger.Debugf("TlPayCallback msg: %v", string(data))
c.Request.Body = ioutil.NopCloser(bytes.NewBuffer(data))
if call, err := api.TLpayAPI.GetCallbackMsg(c.Request); err == nil {
globals.SugarLogger.Debugf("tonglianapi callback callbackResponse:%s", utils.Format4Output(call, true))