This commit is contained in:
2021-09-02 11:26:11 +08:00
parent 4e2bb41358
commit 428987406c
11 changed files with 111 additions and 110 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class GiiMiddleware extends GiiBase
public function generate(): array
{
$managerName = $this->input->get('name', null);
$managerName = $this->input->getArgument('name');
if (empty($managerName)) {
throw new Exception('文件名称不能为空~');
}