save
This commit is contained in:
parent
25bd1f9b50
commit
a8abbb32de
@ -437,6 +437,9 @@ class TableController extends Base
|
||||
|
||||
$explode = explode('/', trim(strtolower($controller_path), '/'));
|
||||
$plugin = '';
|
||||
if (strpos($controller_path, '/controller/') === false) {
|
||||
return $this->json(2, '控制器必须在controller目录下');
|
||||
}
|
||||
if ($explode[0] === 'plugin') {
|
||||
if (count($explode) < 4) {
|
||||
return $this->json(2, '控制器参数非法');
|
||||
|
Loading…
Reference in New Issue
Block a user