闸门小程序接口

This commit is contained in:
2025-07-07 02:12:33 +08:00
commit cdc59b4598
67 changed files with 1860 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
if( defined('SAE_APPNAME') )
{
$GLOBALS['config']['db']['db_host'] = SAE_MYSQL_HOST_M;
$GLOBALS['config']['db']['db_host_read'] = SAE_MYSQL_HOST_S;
$GLOBALS['config']['db']['db_port'] = SAE_MYSQL_PORT;
$GLOBALS['config']['db']['db_user'] = SAE_MYSQL_USER;
$GLOBALS['config']['db']['db_password'] = SAE_MYSQL_PASS;
$GLOBALS['config']['db']['db_name'] = SAE_MYSQL_DB;
}
else
{
$GLOBALS['config']['db']['db_host'] = '39.100.116.156';
$GLOBALS['config']['db']['db_port'] = 3306;
$GLOBALS['config']['db']['db_user'] = 'root';
$GLOBALS['config']['db']['db_password'] = 'bjzgy113#';
$GLOBALS['config']['db']['db_name'] = 'gate_opmonitor';
}