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'; } } }