|
@@ -47,12 +47,12 @@ func (s *BusinessExtServer) IsFriends(ctx context.Context, req *pb.IsFriendsReq) |
|
|
|
|
|
|
|
|
return &pb.IsFriendsResp{ |
|
|
return &pb.IsFriendsResp{ |
|
|
User: &pb.User{ |
|
|
User: &pb.User{ |
|
|
UserId: user.Id, |
|
|
|
|
|
Nickname: user.Nickname, |
|
|
|
|
|
Sex: user.Sex, |
|
|
|
|
|
AvatarUrl: user.AvatarUrl, |
|
|
|
|
|
MasterId: user.MasterId, |
|
|
|
|
|
IsAutoAddedFriends: int64(user.IsAutoAddedFriends), |
|
|
|
|
|
|
|
|
UserId: userFriend.Id, |
|
|
|
|
|
Nickname: userFriend.Nickname, |
|
|
|
|
|
Sex: userFriend.Sex, |
|
|
|
|
|
AvatarUrl: userFriend.AvatarUrl, |
|
|
|
|
|
MasterId: userFriend.MasterId, |
|
|
|
|
|
IsAutoAddedFriends: int64(userFriend.IsAutoAddedFriends), |
|
|
}, |
|
|
}, |
|
|
IsFriend: isFriend, |
|
|
IsFriend: isFriend, |
|
|
}, err |
|
|
}, err |
|
|