From b55ca29fb276bb5b299747e2920be22886192d55 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Mon, 17 May 2021 08:42:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=9B=E5=BB=BAtable?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/command/Tools/CreateTableCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend/catcher/command/Tools/CreateTableCommand.php b/extend/catcher/command/Tools/CreateTableCommand.php index 2104885..d566c12 100644 --- a/extend/catcher/command/Tools/CreateTableCommand.php +++ b/extend/catcher/command/Tools/CreateTableCommand.php @@ -36,7 +36,7 @@ class CreateTableCommand extends Command FileSystem::put( CatchAdmin::moduleDirectory($module) . 'tables' . DIRECTORY_SEPARATOR . (ucwords($table) . '.php'), - $this->tableTemp($module, ucwords($table), $form) + $this->tableTemp($module, lcfirst($table), $form) ); if (! $form) { @@ -44,7 +44,7 @@ class CreateTableCommand extends Command CatchAdmin::moduleDirectory($module) . 'tables' . DIRECTORY_SEPARATOR . 'forms' . DIRECTORY_SEPARATOR . (ucwords($table) . '.php'), - $this->formTemp($module, ucwords($table)) + $this->formTemp($module, lcfirst($table)) ); }