From 5bab5ff21fa7285fed37d79e77bd2e731efeab80 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Tue, 29 Aug 2023 10:56:35 +0800 Subject: [PATCH] fix --- server/auth/internal/logic/useremailconfirmationlogic.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/auth/internal/logic/useremailconfirmationlogic.go b/server/auth/internal/logic/useremailconfirmationlogic.go index 107b2a65..5140d214 100644 --- a/server/auth/internal/logic/useremailconfirmationlogic.go +++ b/server/auth/internal/logic/useremailconfirmationlogic.go @@ -96,6 +96,8 @@ func (l *UserEmailConfirmationLogic) UserEmailConfirmation(req *types.RequestEma return resp.SetStatus(basic.CodeOAuthRegisterTokenErr) } + log.Println("aaaa", "接收校验token", token.Platform) + switch token.OperateType { case auth.OpTypeRegister: if time.Since(token.CreateAt) >= 24*time.Hour { @@ -116,7 +118,7 @@ func (l *UserEmailConfirmationLogic) UserEmailConfirmation(req *types.RequestEma case "facebook": case "fusen": - log.Println("aaaa", token) + // log.Println("aaaa", token) user, err := l.svcCtx.AllModels.FsUser.RegisterByFusen(l.ctx, token) if err != nil { logx.Error(err, token.TraceId)