聊天:修改部分接口字段和命名

This commit is contained in:
liangtongchuan
2021-03-11 17:01:15 +08:00
parent 75fb82316d
commit 3bbd8627bd
8 changed files with 27 additions and 18 deletions

View File

@@ -17,8 +17,8 @@ export const MSG_TYPE = {
export const CHANNEL_PREFIX = {
SYS: 'sys',
WORLD: 'new_world',
GUILD: 'new_guild',
WORLD: 'world',
GUILD: 'guild',
TEAM: 'com_btl_team',
}
@@ -45,7 +45,7 @@ export const MSG_SOURCE = {
TEAM_INVITE: 18,
}
export const ON_MSG_ROUTE = 'onMessage';
export const ON_PRIVATE_MSG_ROUTE = 'onPrivateMessage';
export const ON_GROUP_MSG_ROUTE = 'onGroupMessage';
export const ON_ADD_CHANNEL_ROUTE = 'onAddChannel';
export const ON_LEAVE_CHANNEL_ROUTE = 'onLeaveChannel';