修复配置管理以及菜单管理,增加验证
This commit is contained in:
@@ -27,10 +27,10 @@ class Admin extends Base {
|
||||
],
|
||||
];
|
||||
|
||||
// protected $middleware = [
|
||||
// '\app\http\middleware\Validate',
|
||||
// '\app\http\middleware\Admin',
|
||||
// ];
|
||||
protected $middleware = [
|
||||
'\app\http\middleware\Validate',
|
||||
'\app\http\middleware\Admin',
|
||||
];
|
||||
|
||||
protected function initialize() {
|
||||
$url = str_replace(".", "/", strtolower($this->request->controller())) . '/' . $this->request->action();
|
||||
|
||||
Reference in New Issue
Block a user