微信支付退款

This commit is contained in:
gazebo
2019-11-21 09:20:56 +08:00
parent 75caa1fffd
commit db9e80212f
8 changed files with 207 additions and 25 deletions

View File

@@ -47,6 +47,8 @@ var (
EnableWXAuth2 bool
DisableWXAuth1 bool
WxpayNotifyURL string
)
func init() {
@@ -92,6 +94,8 @@ func Init() {
EnableWXAuth2 = true // beego.BConfig.RunMode == "beta"
DisableWXAuth1 = true
WxpayNotifyURL = beego.AppConfig.DefaultString("wxpayNotifyURL", "")
}
func IsCallbackAlwaysReturnSuccess() bool {