diff --git a/plugin/think-plugs-admin/stc/database/20241010000002_install_admin20241011.php b/plugin/think-plugs-admin/stc/database/20241010000002_install_admin20241011.php index 8cfbc5347..27ebdc5a6 100644 --- a/plugin/think-plugs-admin/stc/database/20241010000002_install_admin20241011.php +++ b/plugin/think-plugs-admin/stc/database/20241010000002_install_admin20241011.php @@ -17,7 +17,6 @@ declare(strict_types=1); * | github 代码仓库:https://github.com/zoujingli/ThinkAdmin * +---------------------------------------------------------------------- */ - use app\admin\Service; use think\admin\extend\PhinxExtend; use think\admin\model\SystemConfig; diff --git a/plugin/think-plugs-helper/src/DbIndexStruct.php b/plugin/think-plugs-helper/src/DbIndexStruct.php index 987602e2d..bf5643ef4 100644 --- a/plugin/think-plugs-helper/src/DbIndexStruct.php +++ b/plugin/think-plugs-helper/src/DbIndexStruct.php @@ -55,7 +55,7 @@ class DbIndexStruct extends Command $number = 1; $renamed = 0; foreach ($tables as $table) { - $this->output->writeln(sprintf("[%s/%s] 开始处理表 %s", $number++, $total, $table)); + $this->output->writeln(sprintf('[%s/%s] 开始处理表 %s', $number++, $total, $table)); $indexes = []; foreach (Db::query(sprintf('SHOW INDEX FROM `%s`', $table)) as $index) { $keyName = strval($index['Key_name'] ?? ''); diff --git a/public/index.php b/public/index.php index 9c23ef141..d8d08c97f 100644 --- a/public/index.php +++ b/public/index.php @@ -1,23 +1,26 @@