From 822a2163a0a9be261ac1457e9d89afa61e6a9b1f Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Thu, 21 Sep 2023 18:57:18 +0800 Subject: [PATCH] nacos config --- model/gmodel/fs_user_logic.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/model/gmodel/fs_user_logic.go b/model/gmodel/fs_user_logic.go index 3f2810b8..aa11295f 100644 --- a/model/gmodel/fs_user_logic.go +++ b/model/gmodel/fs_user_logic.go @@ -173,6 +173,7 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT var err error err = tx.Model(&FsUser{}).Where("email = ?", token.Email).Take(user).Error + logx.Info("success", token.TraceId) if err == gorm.ErrRecordNotFound { FirstName := token.Extend["first_name"].(string) @@ -193,9 +194,11 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT return err } + logx.Info("success", token.TraceId) + // 继承guest_id的资源表 err = InheritGuestIdResource(tx, user.Id, token.GuestId, func(txResouce, txUserMaterial, txUserInfo *gorm.DB) error { - + logx.Info("success", token.TraceId) userProfile := &UserProfile{ FirstName: FirstName, LastName: LastName,