测试
This commit is contained in:
parent
ffc062ce6e
commit
d2560df18a
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user