沈斌
2017-02-14 86c8cfce395beba4ad5583cbac76e5b01782a4d0
IP使用固定服务器IP等
2 files modified
4 ■■■■ changed files
config.js 2 ●●● patch | view | raw | blame | history
queue.js 2 ●●● patch | view | raw | blame | history
config.js
@@ -6,7 +6,7 @@
    HOST: "121.40.92.176",
    PORT: 6789,
    URL: "mongodb://moral_user:m2o0r1a6l_passw0rd@127.0.0.1:27017/moral_db",
    URL: "mongodb://moral_user:m2o0r1a6l_passw0rd@121.40.92.176:27017/moral_db",
    COLLECTION: "documents",
    ALARM_DEFAULTS: {
queue.js
@@ -10,7 +10,7 @@
    this.pushToMQ('ex_data_dev1', {
        data: data,
        time: moment().format('YYYY-MM-DD HH:mm:ss')
    })
    });
};
module.exports.pushToMQ = function(ex, data) {