From f35e13a5bab9bd2c1d06cc946b4ca6a25a48f2c0 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sat, 25 May 2019 20:23:34 +0800 Subject: [PATCH] wx pay --- application/plugins/weixinwebauthorization/index/Auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/plugins/weixinwebauthorization/index/Auth.php b/application/plugins/weixinwebauthorization/index/Auth.php index 767d99a8b..c191f957a 100644 --- a/application/plugins/weixinwebauthorization/index/Auth.php +++ b/application/plugins/weixinwebauthorization/index/Auth.php @@ -36,14 +36,14 @@ class Auth extends Controller // 自定义链接 $this->assign('to_url', MyUrl('index/order/index')); $this->assign('to_title', '我的订单'); - + // 状态 if(isset($params['status']) && $params['status'] == 0) { $this->assign('msg', '支付成功'); return $this->fetch('public/pay_success'); } else { - $this->assign('msg', $ret['msg']); + $this->assign('msg', '支付失败'); return $this->fetch('public/pay_error'); } } -- GitLab