From 7a845bb83fc8619a07dd7fbc281e9154ad0b7222 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Tue, 29 Aug 2023 16:02:54 +0800 Subject: [PATCH] fix --- server/auth/internal/logic/useremailconfirmationlogic.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/server/auth/internal/logic/useremailconfirmationlogic.go b/server/auth/internal/logic/useremailconfirmationlogic.go index 5d2e1867..0f91ab42 100644 --- a/server/auth/internal/logic/useremailconfirmationlogic.go +++ b/server/auth/internal/logic/useremailconfirmationlogic.go @@ -123,8 +123,11 @@ func (l *UserEmailConfirmationLogic) UserEmailConfirmation(req *types.RequestEma return resp.SetStatus(basic.CodeDbSqlErr) } - FinishRegister(l.svcCtx, user, token) - logx.Info("success", token.TraceId) + err = FinishRegister(l.svcCtx, user, token) + if err != nil { + logx.Error(err) + } + logx.Info("success:", token.TraceId) } default: