From e08645677723b5867008a4fb8985e97145060fbf Mon Sep 17 00:00:00 2001 From: xboard Date: Fri, 24 Nov 2023 17:03:48 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9Docker=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=AE=89=E8=A3=85=E8=BF=87=E7=A8=8B=E4=B8=AD=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=9A=84=E6=95=B0=E6=8D=AE=E5=BA=93=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E4=B8=BA127.0.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/XboardInstall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/XboardInstall.php b/app/Console/Commands/XboardInstall.php index 03556ff..e7852bf 100644 --- a/app/Console/Commands/XboardInstall.php +++ b/app/Console/Commands/XboardInstall.php @@ -81,7 +81,7 @@ class XboardInstall extends Command }else{ $envConfig = [ 'DB_CONNECTION' => 'mysql', - 'DB_HOST' => $this->ask("请输入数据库地址(默认:" . ($isDocker ? '172.17.0.1' :'127.0.0.1') .")", ($isDocker ? '172.17.0.1' :'127.0.0.1')), + 'DB_HOST' => $this->ask("请输入数据库地址(默认:127.0.0.1)", '127.0.0.1'), 'DB_PORT' => $this->ask('请输入数据库端口(默认:3306)', '3306'), 'DB_DATABASE' => $this->ask('请输入数据库名', 'xboard'), 'DB_USERNAME' => $this->ask('请输入数据库用户名'),