通联宝支付测试

This commit is contained in:
苏尹岚
2020-02-27 08:58:58 +08:00
parent 92a244c3aa
commit 91fa24df7c
4 changed files with 20 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ type TongLianController struct {
func (c *TongLianController) Msg() {
if c.Ctx.Input.Method() == http.MethodPost {
msg, callbackResponse := api.WxpayAPI.GetCallbackMsg(c.Ctx.Request)
msg, callbackResponse := api.TLpayAPI.GetCallbackMsg(c.Ctx.Request)
globals.SugarLogger.Debugf("tonglianapi callback msg:%s, callbackResponse:%s, %t", utils.Format4Output(msg, true), utils.Format4Output(callbackResponse, true), callbackResponse == nil)
var err error
if callbackResponse == nil {