This commit is contained in:
eson 2023-11-23 17:50:12 +08:00
parent ffc062ce6e
commit d2560df18a

View File

@ -101,7 +101,7 @@ func (m *FsUserInfoModel) GetProfile(ctx context.Context, pkey string, userId in
if !ok {
return m.getDefaultProfile(ctx, tname)
}
log.Println(v)
var info map[string]any
err = json.Unmarshal([]byte(v), &info)
if err != nil {
@ -120,8 +120,6 @@ func (m *FsUserInfoModel) GetProfile(ctx context.Context, pkey string, userId in
info["logo_selected"] = defaultUserInfo["logo_selected"]
}
log.Println(info)
return info, nil
}