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