MCPcopy Create free account
hub / github.com/Devo919/Gewechat / main

Method main

src/main/java/Demo.java:14–22  ·  view source on GitHub ↗

群发测试 @param args

(String[] args)

Source from the content-addressed store, hash-verified

12 * @param args
13 */
14 public static void main(String[] args) throws InterruptedException {
15 String appid = "";
16 List<String> toWxids = Arrays.asList("39002402513@chatroom", "24099789585@chatroom", "52873617987@chatroom");
17 for (String toWxid : toWxids) {
18 MessageApi.postText(appid,toWxid,"test","");
19 int i = new Random().nextInt(6);
20 Thread.sleep(i*1000);
21 }
22 }
23
24}

Callers

nothing calls this directly

Calls 1

postTextMethod · 0.95

Tested by

no test coverage detected