fixed
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
//本地
|
||||
|
||||
Reference in New Issue
Block a user