1
This commit is contained in:
@@ -20,6 +20,7 @@ type TongLianController struct {
|
||||
}
|
||||
|
||||
func (c *TongLianController) Msg() {
|
||||
globals.SugarLogger.Debug("-------method1:= %s", utils.Format4Output("11", false))
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
call, err := api.TLpayAPI.GetCallbackMsg(getUsefulRequest2(c.Ctx))
|
||||
globals.SugarLogger.Debug("-------method1:= %s", utils.Format4Output(call, false))
|
||||
@@ -35,8 +36,10 @@ func (c *TongLianController) Msg() {
|
||||
|
||||
//通联同一扫码支付回调接口
|
||||
func (c *TongLianController) OnLinePay() {
|
||||
globals.SugarLogger.Debug("-------method1:= %s", utils.Format4Output("22", false))
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
call, err := api.TLpayAPI.GetCallbackOnlinePayMsg(getUsefulRequest2(c.Ctx))
|
||||
globals.SugarLogger.Debug("-------method2:= %s", utils.Format4Output(call, false))
|
||||
if err == nil {
|
||||
err = localjx.OnTLOnlinePayCallback(call)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user