From e32ebb3647e7ed8308530c7bbff6aa7ed59f4219 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sun, 26 Dec 2021 13:16:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E7=8E=AF=E5=A2=83=E5=88=A4=E6=96=AD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/payment/Weixin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend/payment/Weixin.php b/extend/payment/Weixin.php index 4968ce8e0..142aad9e1 100755 --- a/extend/payment/Weixin.php +++ b/extend/payment/Weixin.php @@ -50,7 +50,7 @@ class Weixin // 基础信息 $base = [ 'name' => '微信', // 插件名称 - 'version' => '1.1.5', // 插件版本 + 'version' => '1.1.6', // 插件版本 'apply_version' => '不限', // 适用系统版本描述 'apply_terminal'=> ['pc', 'h5', 'ios', 'android', 'weixin', 'qq'], // 适用终端 默认全部 ['pc', 'h5', 'app', 'alipay', 'weixin', 'baidu'] 'desc' => '适用公众号+PC+H5+APP+微信小程序,即时到帐支付方式,买家的交易资金直接打入卖家账户,快速回笼交易资金。 立即申请', // 插件描述(支持html) @@ -186,7 +186,7 @@ class Weixin $client_type = $this->GetApplicationClientType(); // 微信中打开 - if($client_type == 'pc' && IsWeixinEnv() && (empty($params['user']) || empty($params['user']['weixin_web_openid']))) + if(APPLICATION_CLIENT_TYPE == 'pc' && IsWeixinEnv() && (empty($params['user']) || empty($params['user']['weixin_web_openid']))) { exit(header('location:'.PluginsHomeUrl('weixinwebauthorization', 'pay', 'index', input()))); } -- GitLab