Initial commit

This commit is contained in:
18338781771
2025-05-14 13:19:23 +08:00
commit 1ab607f65a
313 changed files with 27595 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace app\mzl;
class MzlController
{
// 生成文件
public function createFile(string $module, string $name)
{
if (!$module) {
return '未获取到module值';
}
if (!$name) {
return '未获取到name值';
}
$model = new \app\mzl\generate\actions\Generate();
$model->setModule($module);
$model->setName($name);
return $model->doGenerate();
}
}