Skip to content

Commit

Permalink
feat: 获取用户信息添加多个字段
Browse files Browse the repository at this point in the history
  • Loading branch information
Lansongxx committed Mar 30, 2024
1 parent b205245 commit 51b1024
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions biz/application/service/relation.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ func (s *RelationService) CreateRelation(ctx context.Context, req *core_api.Crea
if req.ToId == user.GetUserId() {
return resp, nil
}
<<<<<<< HEAD

switch req.ToType {
case core_api.TargetType_UserType:
Expand All @@ -281,8 +280,6 @@ func (s *RelationService) CreateRelation(ctx context.Context, req *core_api.Crea
userId = getPostResp.UserId
}

=======
>>>>>>> 9caf2e178b07c3b9b7d518563ccf8a1070da6b6e
userinfo, err := s.CloudMindContent.GetUser(ctx, &content.GetUserReq{
UserId: user.UserId,
})
Expand Down
2 changes: 1 addition & 1 deletion biz/application/service/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (s *UserService) GetUserDetail(ctx context.Context, _ *core_api.GetUserDeta
Flow: getBalanceResp.Flow,
Momery: getBalanceResp.Memory,
Point: getBalanceResp.Point,
Labels: getUserResp.Labels,
Tags: getUserResp.Labels,
CreateTime: getUserResp.CreateTime,
}, nil
}
Expand Down

0 comments on commit 51b1024

Please sign in to comment.