From 56af485f6771f909a2cf11c4ddb1370d7f061c6d Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Wed, 21 Feb 2024 14:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=99=BB=E5=BD=95=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=AF=BC=E8=87=B4=E7=9A=84=E6=97=A5=E5=B8=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=B8=8D=E8=A7=A6=E5=8F=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/user/api_login.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/user/api_login.go b/modules/user/api_login.go index 827ad0c91..a58831768 100644 --- a/modules/user/api_login.go +++ b/modules/user/api_login.go @@ -169,9 +169,9 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (err }) go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { - if !user.Created { // 没创角就没必要通知 - event.TriggerEvent(comm.EventUserLogin, session) - } + // if !user.Created { // 没创角就没必要通知 + event.TriggerEvent(comm.EventUserLogin, session) + // } if len(tasks) > 0 { this.module.ModuleBuried.TriggerBuried(session.Clone(), tasks...)