后台权限验证bug

This commit is contained in:
hdm 2021-07-28 15:58:43 +08:00
parent a826830082
commit 4c4b65cdae
3 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ class Auth
}
$pathUrl = $controller . '/' . $pathInfo;
if (!in_array($pathUrl, $auth_list) && !in_array($pathUrl, $auth_list_all)) {
if (!in_array($pathUrl, $auth_list)) {
return false;
} else {
return true;

View File

@ -69,7 +69,7 @@
field: 'ip',
title: 'IP地址',
align: 'center',
width: 120
width: 150
}, {
field: 'create_time',
title: '操作时间',

View File

@ -54,7 +54,7 @@
field: 'ip',
title: 'IP地址',
align: 'center',
width: 120
width: 150
}, {
field: 'create_time',
title: '操作时间',