拍卖行:修改拍卖行地址

This commit is contained in:
luying
2021-10-14 10:56:39 +08:00
parent 34a2475f1c
commit bbddebd5f3
5 changed files with 36 additions and 3 deletions
@@ -242,4 +242,14 @@ export class ChatRemote {
channel.pushMessage('onServerMaintenance', resResult(STATUS.SERVER_MAINTENANCE));
return { result: true, serverId };
}
public async pushCurrentTime(serverId: number, time: number) {
let roomId = groupRoomId(CHANNEL_PREFIX.WORLD, serverId);
let channel = this.channelService.getChannel(roomId, false);
console.log('*********', roomId, channel);
if (!channel) return { result: false, serverId };
channel.pushMessage('onPushCurrentTime', resResult(STATUS.SUCCESS, { time }));
return { result: true, serverId };
}
}