From 84eab66b525b7870edbb86f93e71ed9b21fde2cf Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Thu, 16 Apr 2026 17:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .example.env | 2 +- config/database.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.example.env b/.example.env index 7785adfd..8b5ee3c3 100644 --- a/.example.env +++ b/.example.env @@ -1 +1 @@ - app_debug = false [database] type = mysql hostname = localhost database = chaz_shop username = chaz_shop password = GHbeMeh5yykrZMY4 hostport = 3306 charset = utf8mb4 debug = true prefix = 'ls_' [project] env_name = 多商户后台 admin_name = 多商户后台 file_domain = "www.likeshopb2b2c.localhost" ws_domain = wss://127.0.0.1 \ No newline at end of file + app_debug = false [database] type = mysql hostname = 120.26.233.97 database = chaz_shop username = chaz_shop password = kpWXXweTJh8pyA67 hostport = 3306 charset = utf8mb4 debug = true prefix = 'ls_' [project] env_name = 多商户后台 admin_name = 多商户后台 file_domain = "www.likeshopb2b2c.localhost" ws_domain = wss://127.0.0.1 \ No newline at end of file diff --git a/config/database.php b/config/database.php index 829fa054..0ad79f16 100644 --- a/config/database.php +++ b/config/database.php @@ -21,13 +21,13 @@ return [ // 数据库类型 'type' => env('database.type', 'mysql'), // 服务器地址 - 'hostname' => env('database.hostname', 'localhost'), + 'hostname' => env('database.hostname', '120.26.233.97'), // 数据库名 'database' => env('database.database', 'chaz_shop'), // 用户名 'username' => env('database.username', 'chaz_shop'), // 密码 - 'password' => env('database.password', 'GHbeMeh5yykrZMY4'), + 'password' => env('database.password', 'kpWXXweTJh8pyA67'), // 端口 'hostport' => env('database.hostport', '3306'), // 数据库连接参数