拍卖行:推送

This commit is contained in:
luying
2021-11-23 18:17:50 +08:00
parent f69ac140fb
commit d70076de96
11 changed files with 75 additions and 13 deletions
@@ -277,6 +277,15 @@ export class ChatRemote {
return true;
}
public async sendAuctionUpdate(serverId: number, params: { lots: LotType[] }) {
let roomId = groupRoomId(CHANNEL_PREFIX.WORLD, serverId);
let channel = this.channelService.getChannel(roomId, false);
if(!channel) return false;
channel.pushMessage('onAuctionUpdate', resResult(STATUS.SUCCESS, params));
return true;
}
public async checkFilterWords(word: string) {
return await _checkFilterWords(word);
}