update:优化代码生成

This commit is contained in:
JaguarJack
2021-03-14 07:41:15 +08:00
parent 7b7f13536f
commit 822ff3874a
15 changed files with 879 additions and 391 deletions

View File

@@ -36,7 +36,7 @@ class Controller extends Factory
* @param $params
* @return bool|string|string[]
*/
public function done($params)
public function done(array $params)
{
// 写入成功之后
$controllerPath = $this->getGeneratePath($params['controller']);