测试
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 {
|
if !ok {
|
||||||
return m.getDefaultProfile(ctx, tname)
|
return m.getDefaultProfile(ctx, tname)
|
||||||
}
|
}
|
||||||
|
log.Println(v)
|
||||||
var info map[string]any
|
var info map[string]any
|
||||||
err = json.Unmarshal([]byte(v), &info)
|
err = json.Unmarshal([]byte(v), &info)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -120,8 +120,6 @@ func (m *FsUserInfoModel) GetProfile(ctx context.Context, pkey string, userId in
|
|||||||
info["logo_selected"] = defaultUserInfo["logo_selected"]
|
info["logo_selected"] = defaultUserInfo["logo_selected"]
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println(info)
|
|
||||||
|
|
||||||
return info, nil
|
return info, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user