Skip to content

Commit 5f40875

Browse files
author
夜色
committed
升级到0.6.1
1 parent 3b3ebce commit 5f40875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/shinemo/mpush/alloc/PushHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private void sendPush(Map<String, Object> params) {
8181
NotificationDO notificationDO = new NotificationDO();
8282
notificationDO.content = "MPush开源推送," + hello;
8383
notificationDO.title = "MPUSH推送";
84-
notificationDO.nid = idSeq.get() % 2;
84+
notificationDO.nid = idSeq.get() % 2 + 1;
8585
notificationDO.ticker = "你有一条新的消息,请注意查收";
8686
PushMsg pushMsg = PushMsg.build(MsgType.NOTIFICATION_AND_MESSAGE, Jsons.toJson(notificationDO));
8787
pushMsg.setMsgId("msg_" + idSeq.incrementAndGet());

0 commit comments

Comments
 (0)