|
@@ -89,6 +89,22 @@ module.exports = {
|
|
|
useMongoClient: true
|
|
|
}
|
|
|
},
|
|
|
+ uat_wc: {
|
|
|
+ title:"大司空V2.0",
|
|
|
+ startPort:1002,
|
|
|
+ server: "172.18.111.231",//数据库ID
|
|
|
+ port: "27017",//数据库端口
|
|
|
+ dbName:'stdBuilding',
|
|
|
+ options:{
|
|
|
+ user:'wisecost',
|
|
|
+ pass:'Smartcost3850888',
|
|
|
+ auth: {
|
|
|
+ "authSource": "admin"
|
|
|
+ },
|
|
|
+ connectTimeoutMS: 60000,
|
|
|
+ useMongoClient: true
|
|
|
+ }
|
|
|
+ },
|
|
|
setupDb:function (env="local") {
|
|
|
let me = this;
|
|
|
me.current.server = me[env].server;
|