env调整

This commit is contained in:
2025-03-20 10:34:21 +08:00
parent cd580fea23
commit 815ab00086
6 changed files with 47 additions and 15 deletions
+5 -5
View File
@@ -7,11 +7,11 @@ return [
'mysql' => [
'driver' => 'mysql',
'host' => '127.0.0.1',
'port' => 3306,
'database' => 'xyh_crm',
'username' => 'root',
'password' => 'root',
'host' => getenv('DB_HOST'),
'port' => getenv('DB_PORT'),
'database' => getenv('DB_NAME'),
'username' => getenv('DB_USER'),
'password' => getenv('DB_PASSWORD'),
'unix_socket' => '',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',