This commit is contained in:
JaguarJack
2020-11-19 17:44:11 +08:00
parent 9ca1fd42ae
commit 0dfe4fb5c6
3 changed files with 3 additions and 5 deletions

View File

@@ -97,7 +97,7 @@ class Generator
switch ($type) {
case 'controller':
return (new Controller())->dones();
return (new Controller())->getContent($controller);
case 'model':
return (new Model())->getContent($model);
default: