fix
This commit is contained in:
parent
01142adfcb
commit
13aa62c1a5
|
@ -125,7 +125,7 @@ func (l *UserEmailConfirmationLogic) UserEmailConfirmation(req *types.RequestEma
|
|||
user, err := l.svcCtx.AllModels.FsUser.RegisterByFusen(l.ctx, token)
|
||||
if err != nil && err != gorm.ErrRecordNotFound {
|
||||
logx.Error(err, ":", token.TraceId)
|
||||
return resp.SetStatus(basic.CodeDbSqlErr, err.Error())
|
||||
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, err.Error())
|
||||
}
|
||||
err = FinishRegister(l.svcCtx, user, token)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user