Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop

This commit is contained in:
laodaming 2023-11-24 13:08:22 +08:00
commit c1fb491dea

View File

@ -115,8 +115,9 @@ func (m *FsUserInfoModel) GetProfile(ctx context.Context, pkey string, userId in
return m.getDefaultProfile(ctx, tname) return m.getDefaultProfile(ctx, tname)
} }
log.Println(userId, guestId, v)
if logoSelected := gjson.Get(v, "logo_selected"); logoSelected.Exists() { if logoSelected := gjson.Get(v, "logo_selected"); logoSelected.Exists() {
log.Println(logoSelected) log.Println(userId, guestId, logoSelected)
if ver := logoSelected.Get("version"); ver.Exists() && ver.String() == versionML { if ver := logoSelected.Get("version"); ver.Exists() && ver.String() == versionML {
log.Println(ver) log.Println(ver)
return info, nil return info, nil