fix:Gen文件修改

This commit is contained in:
xjh 2023-04-17 15:23:28 +08:00
parent dd44cab777
commit d2a55e9e7e

View File

@ -11,7 +11,7 @@ use app\common\exception\Tool;
class Gen extends BaseController class Gen extends BaseController
{ {
private $address = 'D:\phpstudy_pro\WWW\.Template\php_back_template'; private $address = 'D:\phpstudy_pro\WWW\ARW\houde_web\houde_web_back';
public function index(Request $request) public function index(Request $request)
@ -414,9 +414,9 @@ class Gen extends BaseController
// 'tplCategory' => $tableInfo['tplCategory'], // 'tplCategory' => $tableInfo['tplCategory'],
'tableName' => $tableInfo['Name'], 'tableName' => $tableInfo['Name'],
'tableComment' => $tableInfo['Comment'], 'tableComment' => $tableInfo['Comment'],
'className' => Tool::camelize($tableInfo['Name']), 'className' => Tool::camelize($tableInfo['Name'],true),
'businessName' => $tableInfo['Name'], 'businessName' => $tableInfo['Name'],
'moduleName' => Tool::camelize($tableInfo['Name']), 'moduleName' => Tool::camelize($tableInfo['Name'],true),
'functionName' => $tableInfo['Comment'], 'functionName' => $tableInfo['Comment'],
'functionAuthor' => 'admin', 'functionAuthor' => 'admin',
'genType' => 1, 'genType' => 1,