2
0
mirror of https://gitee.com/hotlcc/wechat4j.git synced 2025-12-26 11:59:53 +08:00

提交代码:修复参数位置错误的验证bug

This commit is contained in:
Allen
2018-09-19 16:57:07 +08:00
parent 0d8b3c78e7
commit 743d40c847
2 changed files with 12 additions and 7 deletions

View File

@@ -30,6 +30,11 @@ public class TestClass {
wechat.autoLogin();
}
public void testSendText() {
JSONObject result = wechat.sendText(null, "这是消息内容");
System.out.println(result);
}
@Test
public void testSendImage() {
File file = new File("D:\\Downloads\\images\\6600e90b8b0ce2037a5291a7147ffd2b.jpeg");