finacl wxpay
This commit is contained in:
@@ -4,9 +4,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
|
"git.rosy.net.cn/jx-callback/business/jxstore/financial"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/platformapi/wxpayapi"
|
"git.rosy.net.cn/baseapi/platformapi/wxpayapi"
|
||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx/localjx"
|
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
"git.rosy.net.cn/jx-callback/globals"
|
||||||
"git.rosy.net.cn/jx-callback/globals/api"
|
"git.rosy.net.cn/jx-callback/globals/api"
|
||||||
"github.com/astaxie/beego"
|
"github.com/astaxie/beego"
|
||||||
@@ -25,7 +26,7 @@ func (c *WXPayController) Msg() {
|
|||||||
if msg.MsgType == wxpayapi.MsgTypeUnkown {
|
if msg.MsgType == wxpayapi.MsgTypeUnkown {
|
||||||
err = fmt.Errorf("未知的微信支付回调类型:%d", msg.MsgType)
|
err = fmt.Errorf("未知的微信支付回调类型:%d", msg.MsgType)
|
||||||
} else {
|
} else {
|
||||||
err = localjx.OnWxPayCallback(msg)
|
err = financial.OnWxPayCallback(msg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if callbackResponse == nil {
|
if callbackResponse == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user