modified 细节修复

This commit is contained in:
zhaoxiang 2020-10-13 19:40:51 +08:00
parent e6c128ea8c
commit 28c8927e59

View File

@ -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'));