This commit is contained in:
2024-07-17 16:52:11 +08:00
parent bbf058ba77
commit 290fc17274
2 changed files with 7 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ if (!function_exists('auto_choose_app_conf')) {
$sys_env = 'PROD';
}
//测试
else if(in_array($domain, ['xxxxx.playone.cn','xxx.com'])) {
else if(in_array($domain, ['ybx_prediagnosis_admin.excn.top','xxx.com'])) {
$debug = true;
$trace = false;
$sys_env = 'DEV';

View File

@@ -29,12 +29,12 @@ if (!function_exists('auto_choose_db_conf')) {
}
//测试 socket请求这里$domain=null【上线正式环境之后把null移动到正式环境配置】
else if(in_array($domain, [null,'sdsd.playone.cn','sdsd.zcc10.com'])) {
$hostname = 'localhost';
$database = 'ssss';
$username = 'sssss';
$password = 'ssssss';
$hostport = '3306';
else if(in_array($domain, ['ybx_prediagnosis_admin.excn.top','sdsd.zcc10.com'])) {
$hostname = 'mysql57.excn.top';
$database = 'digital_doctor';
$username = 'root';
$password = '1m2y3s4q5l6';
$hostport = '3307';
}
//本地