From 36362fab0880049c4e6f581f53ced2f685156639 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 2 Apr 2026 13:20:53 +0800 Subject: [PATCH] =?UTF-8?q?style(runtime):=20=E7=BB=9F=E4=B8=80=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E8=84=9A=E6=9C=AC=E4=B8=8E=E8=BF=81=E7=A7=BB=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20241010000002_install_admin20241011.php | 1 - .../think-plugs-helper/src/DbIndexStruct.php | 2 +- public/index.php | 33 ++++++++-------- public/router.php | 38 ++++++++++--------- think | 33 ++++++++-------- 5 files changed, 57 insertions(+), 50 deletions(-) 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 @@