fix
This commit is contained in:
parent
ee6f74bfb5
commit
5bab5ff21f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user