Skip to content

Commit

Permalink
升级到0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
夜色 committed Dec 12, 2016
1 parent 3b3ebce commit 5f40875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/shinemo/mpush/alloc/PushHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private void sendPush(Map<String, Object> params) {
NotificationDO notificationDO = new NotificationDO();
notificationDO.content = "MPush开源推送," + hello;
notificationDO.title = "MPUSH推送";
notificationDO.nid = idSeq.get() % 2;
notificationDO.nid = idSeq.get() % 2 + 1;
notificationDO.ticker = "你有一条新的消息,请注意查收";
PushMsg pushMsg = PushMsg.build(MsgType.NOTIFICATION_AND_MESSAGE, Jsons.toJson(notificationDO));
pushMsg.setMsgId("msg_" + idSeq.incrementAndGet());
Expand Down

0 comments on commit 5f40875

Please sign in to comment.