|
@@ -7,7 +7,7 @@ var us = {
|
|
|
//连接数据库
|
|
|
us.mysqlconnection = function(host, database) {
|
|
|
if (!us.sqle[host] || !us.sqle[host][database]) { //配置数据库连接
|
|
|
- let port = host == '172.16.12.7' ? 20330 : 3306;
|
|
|
+ let port = host == '172.16.12.7' ? 3306 : 3306;
|
|
|
// let port = host == '123.58.32.152' ? 20330 : 20007;
|
|
|
us.sqle[host] = us.sqle[host] || {};
|
|
|
us.sqle[host][database] = us.mysql.createPool({
|