From 743d182808d5ba326bf08ff1787960f062bc7696 Mon Sep 17 00:00:00 2001 From: luying Date: Thu, 12 Aug 2021 14:01:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=87=E9=81=87=EF=BC=9A=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E6=B2=A1=E6=9C=89=E7=94=A8=E5=88=B0=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=EF=BC=8C=E5=8F=96=E6=B6=88filter?= =?UTF-8?q?=E9=87=8C=E9=9D=A2=E7=9A=84=E6=8E=A8=E9=80=81=E5=8F=AA=E4=BF=9D?= =?UTF-8?q?=E7=95=99=E4=B8=BB=E5=8A=A8=E6=8E=A5=E5=8F=A3=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/connector/filter/global.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/game-server/app/servers/connector/filter/global.ts b/game-server/app/servers/connector/filter/global.ts index 88ae62b29..e06f54b32 100644 --- a/game-server/app/servers/connector/filter/global.ts +++ b/game-server/app/servers/connector/filter/global.ts @@ -46,10 +46,11 @@ Filter.prototype.before = async function (routeRecord: RouteRecord, msg: any, se Filter.prototype.after = function (err: Error, routeRecord: RouteRecord, msg: any, session: FrontendOrBackendSession, resp: any, next: HandlerCallback) { //刷新 refresh(session); - return checkEvent(session).then(()=>{ - next(err); - }).catch(e => { - console.error(e); - next(err); - }); // 奇遇本检查 + // return checkEvent(session).then(()=>{ + // next(err); + // }).catch(e => { + // console.error(e); + // next(err); + // }); // 奇遇本检查 + next(null); }; \ No newline at end of file