From ce2641457312798143b84e0be82f43c92c5f712a Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sat, 25 May 2019 00:03:00 +0800 Subject: [PATCH] wx pay --- extend/payment/Weixin.php | 98 +++++++++++++++++++-------------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/extend/payment/Weixin.php b/extend/payment/Weixin.php index d45e3c324..fbf339cf5 100755 --- a/extend/payment/Weixin.php +++ b/extend/payment/Weixin.php @@ -210,55 +210,55 @@ class Weixin // 微信中 if(!empty($_SERVER['HTTP_USER_AGENT']) && stripos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') !== false) { - $html = ''; - // echo '
';
- // echo htmlspecialchars($html);
- // die;
- die($html);
- /*session('weixin_pay_data', $pay_data);
- session('weixin_redirect_url', empty($redirect_url) ? '' : urldecode($redirect_url));
- $url = PluginsHomeUrl('weixinwebauthorization', 'pay', 'index');
- $result = DataReturn('success', 0, $url);*/
+ $html = '
+
+
+ 微信安全支付
+
+
+
+ ';
+ exit($html);
} else {
$result = DataReturn('success', 0, $pay_data);
}