mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
页面授权优化
This commit is contained in:
parent
8ba170debe
commit
ca2e1d19f3
@ -260,7 +260,7 @@ class WechatService extends Service
|
||||
} elseif ((empty($isfull) && !empty($openid)) || (!empty($isfull) && !empty($openid) && !empty($userinfo))) {
|
||||
return ['openid' => $openid, 'fansinfo' => $userinfo];
|
||||
} else {
|
||||
throw new \think\Exception('Query Params [rcode] not find.');
|
||||
throw new \think\Exception('Query params [rcode] not find.');
|
||||
}
|
||||
} else {
|
||||
$result = self::ThinkServiceConfig()->oauth($this->app->session->getId(), $source, $isfull);
|
||||
|
Loading…
x
Reference in New Issue
Block a user