Authored by 郝肖肖

use imApi

'use strict';
const _ = require('lodash');
const ImAPI = global.yoho.ImAPI;
const crypto = global.yoho.crypto;
const config = global.yoho.config;
const ImAPI = new global.yoho.ApiBase(config.domains.imApi, {
name: 'im',
cache: global.yoho.cache,
useCache: false
});
const encryptedUid = uid => crypto.encryption(null, uid + '');
... ...
... ... @@ -40,7 +40,7 @@
"request-promise": "^3.0.0",
"serve-favicon": "^2.3.0",
"uuid": "^2.0.3",
"yoho-node-lib": "0.1.30",
"yoho-node-lib": "^0.2.0",
"yoho-zookeeper": "^1.0.4"
},
"devDependencies": {
... ...