好友:好友战力
This commit is contained in:
@@ -633,7 +633,7 @@ export class FriendHandler {
|
|||||||
return resResult(STATUS.SUCCESS, {...param, isRobot });
|
return resResult(STATUS.SUCCESS, {...param, isRobot });
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
let role = await RoleModel.findByRoleId(targetRoleId);
|
let role = await RoleModel.findByRoleId(targetRoleId, null, true);
|
||||||
let myFriendRelation = await FriendRelationModel.findFriendByRole(roleId, POPULATE_TYPE.NOT);
|
let myFriendRelation = await FriendRelationModel.findFriendByRole(roleId, POPULATE_TYPE.NOT);
|
||||||
|
|
||||||
let type = getRecommendType(myFriendRelation, roleId, role.roleId);
|
let type = getRecommendType(myFriendRelation, roleId, role.roleId);
|
||||||
|
|||||||
Reference in New Issue
Block a user