mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-22 06:49:15 +08:00
Update Auth.php
This commit is contained in:
parent
9232efa74f
commit
c9341282b3
@ -54,7 +54,8 @@ abstract class Auth extends Controller
|
||||
protected function getMember()
|
||||
{
|
||||
try {
|
||||
return UserService::instance()->get(['token' => $this->token]);
|
||||
$map = ['token' => $this->token];
|
||||
return UserService::instance()->get($map);
|
||||
} catch (HttpResponseException $exception) {
|
||||
throw $exception;
|
||||
} catch (\Exception $exception) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user