修复CURD代码生成模块-生成的代码报错500

This commit is contained in:
2026-04-01 14:30:18 +08:00
parent 9058fa29fb
commit 2bb589c4e5
3 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
public function initialize(): void
protected function initController(WebmanRequest $request): ?Response
{
parent::initialize();
$this->model = new \{%modelNamespace%}\{%modelName%}();{%filterRule%}
return null;
}