提交 867e32bd 编写于 作者: G gongfuxiang

微信网页授权插件优化

上级 cc06304f
......@@ -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']);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册