This commit is contained in:
邹宗楠
2026-03-19 16:37:52 +08:00
parent 08ca5d8ba1
commit 88014d02d1

View File

@@ -22,6 +22,7 @@ type TongLianController struct {
func (c *TongLianController) Msg() {
if c.Ctx.Input.Method() == http.MethodPost {
call, err := api.TLpayAPI.GetCallbackMsg(getUsefulRequest2(c.Ctx))
globals.SugarLogger.Debug("-------method1:= %s", utils.Format4Output(call, false))
if err == nil {
err = localjx.OnTLPayCallback(call)
}
@@ -34,10 +35,8 @@ func (c *TongLianController) Msg() {
//通联同一扫码支付回调接口
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)
}