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 } }