This commit is contained in:
eson 2023-08-29 15:06:48 +08:00
parent 101e589fdd
commit 53f9bbe0d5

View File

@ -162,7 +162,7 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT
err = UserTx.Create(user).Error
if err != nil {
if err != nil && err != gorm.ErrRecordNotFound {
logx.Error(err)
return err
}