微信网页授权插件优化
parent
cc06304ff8
commit
867e32bd26
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue