From c9d0ab7e9a41424295e45d5144db53029c3951e6 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 24 Nov 2023 12:29:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/gmodel/fs_user_info_logic.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/model/gmodel/fs_user_info_logic.go b/model/gmodel/fs_user_info_logic.go index f2667011..39bff739 100644 --- a/model/gmodel/fs_user_info_logic.go +++ b/model/gmodel/fs_user_info_logic.go @@ -8,6 +8,7 @@ import ( "fmt" "fusenapi/utils/fssql" "fusenapi/utils/handlers" + "log" "github.com/tidwall/gjson" "gorm.io/gorm" @@ -115,7 +116,9 @@ func (m *FsUserInfoModel) GetProfile(ctx context.Context, pkey string, userId in } if logoSelected := gjson.Get(v, "logo_selected"); logoSelected.Exists() { + log.Println(logoSelected) if ver := logoSelected.Get("version"); ver.Exists() && ver.String() == versionML { + log.Println(ver) return info, nil } }