聊天:加入部分假数据;加入一个服务器群推

This commit is contained in:
liangtongchuan
2021-03-07 21:25:36 +08:00
parent e0984cc932
commit ba70750f09
7 changed files with 126 additions and 15 deletions
+2
View File
@@ -17,6 +17,8 @@ export default class GroupMessage extends BaseModel {
roomId: string; // 频道唯一 Id,由 channel 和 channelId 拼接:world_serverIdguild_guildId
@prop({ required: true, default: 0 })
type: number; // 消息类型:0,纯文本;1,富文本;2,表情
@prop({ required: true, default: 0 })
source: number; // 消息来源:0,玩家;1,玩家送礼;2,武将升品...
@prop({ required: true, default: '' })
roleId: string; // 消息发送者 roleId