From 867e32bd26ba119c70b16c7987b12918368d7f7a Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sat, 1 Jun 2019 14:32:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E7=BD=91=E9=A1=B5=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E6=8F=92=E4=BB=B6=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/weixinwebauthorization/service/AuthService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/plugins/weixinwebauthorization/service/AuthService.php b/application/plugins/weixinwebauthorization/service/AuthService.php index 92ba1ece0..b251b3de1 100755 --- a/application/plugins/weixinwebauthorization/service/AuthService.php +++ b/application/plugins/weixinwebauthorization/service/AuthService.php @@ -79,8 +79,8 @@ class AuthService } // 获取插件配置 - $ret = PluginsService::PluginsData('weixinwebauthorization'); - if($ret['code'] == 0 && isset($ret['data']['auth_type']) && $ret['data']['auth_type'] == 1) + $base = PluginsService::PluginsData('weixinwebauthorization'); + if($base['code'] == 0 && isset($base['data']['auth_type']) && $base['data']['auth_type'] == 1) { // 获取用户信息 $ret = self::RemoteUserInfo($ret['data']);