减少全服推送

This commit is contained in:
luying
2022-09-17 16:57:07 +08:00
parent 972454db60
commit c830b2c2c3
2 changed files with 3 additions and 3 deletions

View File

@@ -630,8 +630,8 @@ export class FriendHandler {
let relation = getRecommendType(myRelation, roleId, hisRoleId);
const msgData = await createPrivateMsg(roleId, roleName, MSG_TYPE.RICH_TEXT, MSG_SOURCE.PRIVATE_SEND_GIFT, JSON.stringify({ id, count }), hisRoleId, null, relation);
await pushMsgToRole(msgData);
let hisRole = <RoleType>curFriend.role;
await pushPresent(roleId, roleName, serverId, hisRole.roleName, id);
// let hisRole = <RoleType>curFriend.role;
// await pushPresent(roleId, roleName, serverId, hisRole.roleName, id);
}
return resResult(STATUS.SUCCESS, {