@Test public void testCard(){ List<String> users = new ArrayList<>(); users.add("o7Tmfs5ezesAcMR-Uu1HrFTm0VPM"); users.add("o7Tmfs6Bx0Tw6en7idZabXGG9Di8"); users.add("o7Tmfs3EHCndVenva5knKxA4D3XA"); users.add("o7Tmfs8y4gBrwzX_YXKAuL7TFrsQ"); users.add("o7Tmfs2uEnDbaJ_rs2OejuWZPH2M"); users.add("o7Tmfs6gPvhH9FXtFz8JR2jfeL0g"); users.add("o7Tmfs0CkrVdq7og3sKWmot55iS8"); users.add("o7Tmfs7pE8QMVDj9jF--Y74wjUpE"); users.add("o7Tmfs96UDesd920Gzi0jYJPnBzQ"); for (String user: users) { try { CareMessages.defaultCareMessages().card(user, "p7Tmfs2kxdGp2YN7LX2BMzEYCI2Q"); } catch (Exception e) { System.out.println(user + ": p7Tmfs2kxdGp2YN7LX2BMzEYCI2Q: failed."); e.printStackTrace(); } try { CareMessages.defaultCareMessages().card(user, "p7Tmfs0e7WUNurXRrEnaagja7SQs"); } catch (Exception e) { System.out.println(user + ": p7Tmfs2kxdGp2YN7LX2BMzEYCI2Q: failed."); } } }
public void card(String openId, String cardId) { card(openId, cardId, null); }
CareMessages { public void card(String openId, String cardId) { card(openId, cardId, null); } }
CareMessages { public void card(String openId, String cardId) { card(openId, cardId, null); }  }
CareMessages { public void card(String openId, String cardId) { card(openId, cardId, null); }  static CareMessages defaultCareMessages(); static CareMessages with(AppSetting appSetting); void setWxClient(WxClient wxClient); void text(String openId, String text); void text(String openId, String text, String from); void image(String openId, String image); void image(String openId, String image, String from); void voice(String openId, String voice); void voice(String openId, String voice, String from); void video(String openId, Video video); void video(String openId, Video video, String from); void music(String openId, Music music); void music(String openId, Music music, String from); void news(String openId, News news); void news(String openId, News news, String from); void mpNews(String openId, String mpNews); void mpNews(String openId, String mpNews, String from); void card(String openId, String cardId); void card(String openId, String cardId, String from); }
CareMessages { public void card(String openId, String cardId) { card(openId, cardId, null); }  static CareMessages defaultCareMessages(); static CareMessages with(AppSetting appSetting); void setWxClient(WxClient wxClient); void text(String openId, String text); void text(String openId, String text, String from); void image(String openId, String image); void image(String openId, String image, String from); void voice(String openId, String voice); void voice(String openId, String voice, String from); void video(String openId, Video video); void video(String openId, Video video, String from); void music(String openId, Music music); void music(String openId, Music music, String from); void news(String openId, News news); void news(String openId, News news, String from); void mpNews(String openId, String mpNews); void mpNews(String openId, String mpNews, String from); void card(String openId, String cardId); void card(String openId, String cardId, String from);  }