33 lines
650 B
Plaintext
33 lines
650 B
Plaintext
|
|
//package com.nationalelectric.greenH5;
|
||
|
|
//
|
||
|
|
//import java.util.concurrent.ExecutorService;
|
||
|
|
//import java.util.concurrent.Executors;
|
||
|
|
//
|
||
|
|
//import com.nationalelectirc.utils.PushMessageUtil;
|
||
|
|
//
|
||
|
|
//public class TestMessage {
|
||
|
|
// public static void main(String[] args) {
|
||
|
|
//
|
||
|
|
// final ExecutorService executor = Executors.newFixedThreadPool(2);
|
||
|
|
//
|
||
|
|
// for (int i = 0; i < 2; i++) {
|
||
|
|
//
|
||
|
|
// executor.execute(new Runnable() {
|
||
|
|
//
|
||
|
|
// @Override
|
||
|
|
// public void run() {
|
||
|
|
// try {
|
||
|
|
// PushMessageUtil.pushMessage("审批通知", "消息推送内容", "jy_09");
|
||
|
|
//
|
||
|
|
// } catch (Exception e) {
|
||
|
|
//
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// }
|
||
|
|
// });
|
||
|
|
//
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// }
|
||
|
|
//}
|