Commit 3e5e31ac by 蒋勇

d

parent 219a4c23
const mongoose = require('mongoose')
class MgDbFactory {
constructor() {
const reqUrl = "mongodb://wdy1:123456@43.247.184.94:27017/phones";
const reqUrl = "mongodb://wdy1:123456@43.247.184.157:13311/phones";
this.mgdb = mongoose.connect(reqUrl, { useNewUrlParser: true });
}
......
var settings = {
redis: {
host: "121.36.3.35",
port: 8967,
password: "Gongsibao2018",
host: "59.110.125.77",
port: 30479,
password: "havzMSYc3aBZXOjpG3",
db: 13,
},
database: {
......
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