瀏覽代碼

feat: 添加重构后台 uat配置

zhangweicheng 3 年之前
父節點
當前提交
4678e75f58
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      config/config.js

+ 16 - 0
config/config.js

@@ -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;