MsgPushUtils增加一个方法,填写定时发送消息时不需要填写是否合并消息参数了
This commit is contained in:
@@ -2,5 +2,6 @@
|
|||||||
<wb-module deploy-name="jeesite-module-core">
|
<wb-module deploy-name="jeesite-module-core">
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/java"/>
|
<wb-resource deploy-path="/" source-path="/src/main/java"/>
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
|
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
|
||||||
|
<wb-resource deploy-path="/" source-path="/src/test/resources"/>
|
||||||
</wb-module>
|
</wb-module>
|
||||||
</project-modules>
|
</project-modules>
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ public class MsgPushTest extends BaseSpringContextTests {
|
|||||||
// 即时推送消息
|
// 即时推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system");
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system");
|
||||||
// 定时推送消息
|
// 定时推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", DateUtils.parseDate("2018-05-05 08:30"), Global.YES);
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", DateUtils.parseDate("2018-05-05 08:30"));
|
||||||
// 延迟推送消息
|
// 延迟推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", new Date(), Global.YES);
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", new Date(), Global.YES);
|
||||||
}
|
}
|
||||||
@@ -83,7 +83,7 @@ public class MsgPushTest extends BaseSpringContextTests {
|
|||||||
// 即时推送消息
|
// 即时推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system");
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system");
|
||||||
// 定时推送消息
|
// 定时推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", DateUtils.parseDate("2018-05-05 08:30"), Global.YES);
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", DateUtils.parseDate("2018-05-05 08:30"));
|
||||||
// 延迟推送消息
|
// 延迟推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", new Date(), Global.YES);
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", new Date(), Global.YES);
|
||||||
}
|
}
|
||||||
@@ -95,7 +95,7 @@ public class MsgPushTest extends BaseSpringContextTests {
|
|||||||
// 即时推送消息
|
// 即时推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system");
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system");
|
||||||
// 定时推送消息
|
// 定时推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", DateUtils.parseDate("2018-05-05 08:30"), Global.YES);
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", DateUtils.parseDate("2018-05-05 08:30"));
|
||||||
// 延迟推送消息
|
// 延迟推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", new Date(), Global.YES);
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", new Date(), Global.YES);
|
||||||
}
|
}
|
||||||
@@ -107,7 +107,7 @@ public class MsgPushTest extends BaseSpringContextTests {
|
|||||||
// 即时推送消息
|
// 即时推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system");
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system");
|
||||||
// 定时推送消息
|
// 定时推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", DateUtils.parseDate("2018-05-05 08:30"), Global.YES);
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", DateUtils.parseDate("2018-05-05 08:30"));
|
||||||
// 延迟推送消息
|
// 延迟推送消息
|
||||||
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", new Date(), Global.YES);
|
MsgPushUtils.push(msgContent, "BizKey", "BizType", "system", new Date(), Global.YES);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user