diff --git a/model/gmodel/fs_user_logic.go b/model/gmodel/fs_user_logic.go index a76d2309..283fdaa6 100644 --- a/model/gmodel/fs_user_logic.go +++ b/model/gmodel/fs_user_logic.go @@ -221,10 +221,9 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT Utime: &now, } - logx.Info("*uinfo.UserId", *uinfo.UserId) err = txUserInfo.Where("module = 'profile' and user_id = ?", *uinfo.UserId).Take(nil).Error // txUserInfo.Statement.Table - + logx.Info(err, "*uinfo.UserId", *uinfo.UserId) if err != nil { if err == gorm.ErrRecordNotFound { err = txUserInfo.Create(uinfo).Error