🐞 fix(gvg): 修复战区分配错误
This commit is contained in:
@@ -302,6 +302,15 @@ export class GmHandler {
|
||||
for(let serverId of serverIds) {
|
||||
await GVGServerGroupModel.updateByServerId(serverId, groupId, scheduleTime);
|
||||
}
|
||||
try {
|
||||
await pinus.app.rpc.guild.guildRemote.setGVGServerGroup.broadcast();
|
||||
await pinus.app.rpc.chat.chatRemote.setGVGServerGroup.broadcast();
|
||||
await pinus.app.rpc.connector.connectorRemote.setGVGServerGroup.broadcast();
|
||||
await pinus.app.rpc.gm.gmRemote.setGVGServerGroup.broadcast();
|
||||
await pinus.app.rpc.systimer.systimerRemote.setGVGServerGroup.broadcast();
|
||||
} catch(e) {
|
||||
console.log('remote未初始完');
|
||||
}
|
||||
return resResult(STATUS.SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user