更新同步路由

This commit is contained in:
evoxwht 2023-04-27 17:56:47 +08:00
parent 9252f05791
commit 084526104f
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ class SystemMenus extends AuthController
if ($attPath) {
$pathData = [];
foreach ($attPath as $vv) {
if (strstr($vv, '<') === false || strstr($vv, '?>') === false) {
if (strstr($vv, '<') === false) {
$pathData[] = $vv;
}
}

View File

@ -136,7 +136,7 @@ class SystemAdminServices extends BaseServices
'user_info' => [
'id' => $adminInfo->getData('id'),
'account' => $adminInfo->getData('account'),
'head_pic' => $adminInfo->getData('head_pic'),
'head_pic' => get_file_link($adminInfo->getData('head_pic')),
'level' => $adminInfo->getData('level'),
'real_name' => $adminInfo->getData('real_name'),
],