优化代码生成

This commit is contained in:
JaguarJack
2020-04-29 11:41:54 +08:00
parent f8fb57c9c6
commit b30e57bf01
4 changed files with 40 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ class Model extends Factory
[$modelName, $namespace] = $this->parseFilename($params['model']);
if (!$modelName) {
throw new FailedException('create Model Failed');
throw new FailedException('model name not set');
}
$content = $template->useTrait($extra['soft_delete']) .