聊天:增加私聊部分逻辑
测试:增加测试脚本,减少socket断开的打印
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export const MSG_CODE_LEN = 8;
|
||||
|
||||
export const MSG_STATUS = {
|
||||
NORMAL: 0,
|
||||
BLOCKED: 1
|
||||
}
|
||||
|
||||
export const MSG_TYPE = {
|
||||
TEXT: 0,
|
||||
RICH_TEXT: 1,
|
||||
IMG: 2
|
||||
}
|
||||
|
||||
export const ON_MSG_ROUTE = 'onMessage';
|
||||
@@ -6,5 +6,6 @@ export * from './constModules/itemConst';
|
||||
export * from './constModules/sysConst';
|
||||
export * from './constModules/guildConst';
|
||||
export * from './constModules/selectConst';
|
||||
export * from './constModules/chatConst';
|
||||
export * from './statusCode';
|
||||
export * from './dataName';
|
||||
Reference in New Issue
Block a user