From 7324aabbd61c752945af5d62bf42bf68fc721020 Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Fri, 22 Sep 2023 00:12:23 +0800 Subject: [PATCH] fix --- model/gmodel/fs_user_logic.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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