|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-05-18 14:54:47
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-06-13 19:52:36
|
|
|
|
|
* @LastEditTime: 2022-06-13 21:04:11
|
|
|
|
|
* @Description: file content
|
|
|
|
|
*/
|
|
|
|
|
import { CreateUUID, FormatDate, ToAsyncAwait } from "@/plugins/utils";
|
|
|
|
@ -33,6 +33,7 @@ const fromatPotoReq = (traceId, traceType, content) => {
|
|
|
|
|
message: res.getMessage(),
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class MsbIm {
|
|
|
|
|
defaultOption = {
|
|
|
|
|
ioKey: 'traceId',
|
|
|
|
@ -458,5 +459,11 @@ class MsbIm {
|
|
|
|
|
}
|
|
|
|
|
return Promise.resolve(result);
|
|
|
|
|
}
|
|
|
|
|
close() {
|
|
|
|
|
this.socket.close();
|
|
|
|
|
this.socket = null;
|
|
|
|
|
this.isOpen = false;
|
|
|
|
|
this.setSessionData([]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export default MsbIm;
|