From 1bd2b83bca9c117c2b4cbceabe184d130b45d041 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 22 Sep 2023 15:52:20 +0800 Subject: [PATCH] info --- model/gmodel/fs_user_logic.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/model/gmodel/fs_user_logic.go b/model/gmodel/fs_user_logic.go index 78c77653..24d0a1a4 100644 --- a/model/gmodel/fs_user_logic.go +++ b/model/gmodel/fs_user_logic.go @@ -9,6 +9,7 @@ import ( "fusenapi/utils/fssql" "time" + "github.com/zeromicro/go-zero/core/logx" "gorm.io/gorm" ) @@ -221,6 +222,8 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT Utime: &now, } + logx.Error(metadata) + err = txUserInfo.Where("module = 'profile' and user_id = ?", *uinfo.UserId).Take(nil).Error if err != nil { if err == gorm.ErrRecordNotFound {