From 492d3914318e18d89a5ce1d1efdf15634590e151 Mon Sep 17 00:00:00 2001 From: meimei <102865034@qq.com> Date: Fri, 25 Apr 2025 15:38:13 +0800 Subject: [PATCH] fixed --- superadmin/application/database.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/superadmin/application/database.php b/superadmin/application/database.php index 8348cdd..082b5b6 100755 --- a/superadmin/application/database.php +++ b/superadmin/application/database.php @@ -30,7 +30,8 @@ if (!function_exists('auto_choose_db_conf')) { //测试 socket请求这里$domain=null,【上线正式环境之后把null移动到正式环境配置】 else if(in_array($domain, ['fastrespsuperadmin.excn.vip'])) { - $hostname = 'fastresponse_baota.excn.vip'; + $hostname = 'localhost'; +// $hostname = 'fastresponse_baota.excn.vip'; $database = 'fast_response'; $username = 'fast_response'; $password = 'sKpjrTJ8PrjKWcE2'; @@ -43,7 +44,7 @@ if (!function_exists('auto_choose_db_conf')) { $database = 'fast_response'; $username = 'root'; $password = 'root';//root or 123456 - $hostport = '3306'; + $hostport = '8889'; } } }