From db67147eb8c06ba35cce1c5a9d2648e9663fa9e9 Mon Sep 17 00:00:00 2001 From: meimei <102865034@qq.com> Date: Fri, 25 Apr 2025 15:39:52 +0800 Subject: [PATCH] fixed --- admin/application/database.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/application/database.php b/admin/application/database.php index 2818e6a..1729313 100755 --- a/admin/application/database.php +++ b/admin/application/database.php @@ -30,7 +30,8 @@ if (!function_exists('auto_choose_db_conf')) { //测试 socket请求这里$domain=null,【上线正式环境之后把null移动到正式环境配置】 else if(in_array($domain, ['fastresponsefirm.excn.vip','fastresponse.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'; } } }