mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]增加又模式网页授权兼容
This commit is contained in:
parent
7b175f9aa4
commit
ec8e321b40
@ -114,6 +114,7 @@ class WechatService
|
||||
return ['openid' => $openid, 'fansinfo' => []];
|
||||
}
|
||||
session("{$appid}_fansinfo", $fansinfo = $wechat->getUserInfo($token['access_token'], $openid));
|
||||
empty($fansinfo) || FansService::set($fansinfo);
|
||||
}
|
||||
return ['openid' => $openid, 'fansinfo' => $fansinfo];
|
||||
case 'thr':
|
||||
|
Loading…
x
Reference in New Issue
Block a user