1
This commit is contained in:
@@ -3,6 +3,7 @@ package controllers
|
||||
import (
|
||||
"bytes"
|
||||
"git.rosy.net.cn/baseapi/platformapi/tonglianpayapi"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
@@ -36,6 +37,7 @@ func (c *TongLianController) OnLinePay() {
|
||||
globals.SugarLogger.Debug("-------method:= %s", c.Ctx.Input.Method())
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
call, err := api.TLpayAPI.GetCallbackOnlinePayMsg(getUsefulRequest2(c.Ctx))
|
||||
globals.SugarLogger.Debug("-------method:= %s", utils.Format4Output(call, false))
|
||||
if err == nil {
|
||||
err = localjx.OnTLOnlinePayCallback(call)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user