From ae1f89abf7f8b85f8a9e092197a147d45c2e1636 Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 9 Mar 2021 11:04:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B2=E6=B2=89=E8=BF=B7=EF=BC=9A=E4=B8=8B?= =?UTF-8?q?=E7=BA=BF=E6=97=B6=E6=B1=87=E6=8A=A5=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/connector/handler/entryHandler.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game-server/app/servers/connector/handler/entryHandler.ts b/game-server/app/servers/connector/handler/entryHandler.ts index ca23a56a0..b71450dbc 100644 --- a/game-server/app/servers/connector/handler/entryHandler.ts +++ b/game-server/app/servers/connector/handler/entryHandler.ts @@ -20,6 +20,7 @@ import { gameData } from '../../../pubUtils/data'; import { getMails } from '../../../services/mailService'; import { addRoleToGuildChannel, addRoleToSysChannel, addRoleToWorldChannel, leaveGuildChannel, leaveSysChannel, leaveWorldChannel } from '../../../services/chatService'; +import { reportOnlineSchedule } from '../../../services/timeTaskService'; export default function (app: Application) { return new EntryHandler(app); } @@ -155,6 +156,7 @@ export class EntryHandler { await leaveWorldChannel(roleId, sid, serverId); await leaveGuildChannel(roleId, sid); RoleModel.updateRoleInfo(roleId, { quitTime: nowSeconds() }); + reportOnlineSchedule(); }