info get profile

This commit is contained in:
eson
2023-09-28 14:42:26 +08:00
parent 1f9123c0f4
commit 6072341a2b
5 changed files with 16 additions and 10 deletions

View File

@@ -37,6 +37,8 @@ func (l *UpdateProfileBaseLogic) UpdateProfileBase(req *types.ProfileRequest, us
return resp.SetStatus(basic.CodeUnAuth)
}
req.ProfileBase.Email = nil
err := l.svcCtx.AllModels.FsUserInfo.MergeMetadata(userinfo.UserId, req)
if err != nil {
logx.Error(err) // 日志记录错误