Commit 9c20ba54 by Future

好友同意拒绝申请通知栏消息转到pushserver

parent 3235203d
......@@ -30,11 +30,11 @@ import lombok.Getter;
public enum FriendStateEnum implements BaseEnum {
/**
* 禁用
* 待确认
**/
UNSURE(1, "待确认"),
/**
* 启用
* 已确认
**/
CONFORM(2, "已确认"),
REJECT(3, "已拒绝"),
......
......@@ -96,6 +96,8 @@ public class FriendEventSender {
PushVO pushVO = new PushVO();
pushVO.setTitle(FRIEND_APPROVE_TITLE);
pushVO.setSubTitle(isAgree? FRIEND_APPROVE_TITLE_AGREE : FRIEND_APPROVE_TITLE_REJECT);
systemPush.push(pushVO, receiveClient, app);
// systemPush.push(pushVO, receiveClient, app);
PushDTO pushDTO = mqSender.buildPushDto(pushVO, receiveClient, app);
mqSender.synSend(MqConstant.Topic.IM_MSG_TOPIC, MqConstant.Tag.IM_MSG_TAG, pushDTO);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment