|
|
'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 + '');
|
|
|
|
...
|
...
|
|