后台权限验证bug
This commit is contained in:
parent
a826830082
commit
4c4b65cdae
@ -101,7 +101,7 @@ class Auth
|
|||||||
}
|
}
|
||||||
|
|
||||||
$pathUrl = $controller . '/' . $pathInfo;
|
$pathUrl = $controller . '/' . $pathInfo;
|
||||||
if (!in_array($pathUrl, $auth_list) && !in_array($pathUrl, $auth_list_all)) {
|
if (!in_array($pathUrl, $auth_list)) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
field: 'ip',
|
field: 'ip',
|
||||||
title: 'IP地址',
|
title: 'IP地址',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 120
|
width: 150
|
||||||
}, {
|
}, {
|
||||||
field: 'create_time',
|
field: 'create_time',
|
||||||
title: '操作时间',
|
title: '操作时间',
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
field: 'ip',
|
field: 'ip',
|
||||||
title: 'IP地址',
|
title: 'IP地址',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 120
|
width: 150
|
||||||
}, {
|
}, {
|
||||||
field: 'create_time',
|
field: 'create_time',
|
||||||
title: '操作时间',
|
title: '操作时间',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user