聊天:启动服务器后重置频道 sid
This commit is contained in:
@@ -355,6 +355,11 @@ export async function addRedisChannel(roomId: string, sid: string) {
|
||||
return result;
|
||||
}
|
||||
|
||||
export async function clearChannelServers() {
|
||||
const result = await redisClient().delAsync(REDIS_KEY.CHANNEL_SERVERS);
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 玩家上线
|
||||
* @param roleId role表id
|
||||
|
||||
Reference in New Issue
Block a user