mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-05 19:41:43 +08:00
modified 细节修复
This commit is contained in:
parent
e6c128ea8c
commit
28c8927e59
@ -336,8 +336,8 @@ class ThirdLogin extends Base {
|
||||
}
|
||||
}
|
||||
|
||||
$userInfo['access'] = (new Login(App()))->getAccess($userInfo['id']);
|
||||
$userInfo['menu'] = (new Login(App()))->getAccessMenuData($userInfo['id']);
|
||||
$userInfo['access'] = (new Login(App()))->getAccess(intval($userInfo['id']));
|
||||
$userInfo['menu'] = (new Login(App()))->getAccessMenuData(intval($userInfo['id']));
|
||||
|
||||
$apiAuth = md5(uniqid() . time());
|
||||
cache('Login:' . $apiAuth, json_encode($userInfo), config('apiadmin.ONLINE_TIME'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user