@ -27,6 +27,10 @@ class RedisClient {
config.redisConfig
);
this._connection.auth(config.redisConfig.password,function(){
console.log('通过认证');
});
this._connection.on('connect', function (res) {
log.info('Redis is connected.');
@ -2,18 +2,19 @@
let imDbConfig = {
host: '59.61.92.94',
user: 'wlyy',
password: 'jkzlehr@123',
database: 'wlyy',
user: 'im',
password: 'im!)123',
database: 'im',
connectionLimit: '100',
charset : 'utf8mb4'
};
// Redis
let redisConfig = {
host: '192.168.1.220',
port: 6379,
db: 1
host: '120.41.253.95',
port: 6380,
db: 1,
password:'jkzl_ehr'
// 三师后台