Commit 1671912f by 蒋勇

d

parent f92d309c
const mongoose = require('mongoose')
class MgDbFactory {
constructor() {
const reqUrl = "mongodb://wdy1:123456@er.es.gongsibao.com:27017/phones";
const reqUrl = "mongodb://wdy1:123456@idc157.gongsibao.com:13311/phones";
this.mgdb = mongoose.connect(reqUrl, { useNewUrlParser: true });
}
......
......@@ -265,7 +265,7 @@ var settings = {
var localsettings=require("./localsettings");
return localsettings.reqMgDevUrl;
}else {
return "mongodb://wdy1:123456@er.es.gongsibao.com:27017/";
return "mongodb://wdy1:123456@idc157.gongsibao.com:13311/";
}
},
redis:function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment