mirror of
https://gitee.com/hotlcc/wechat4j.git
synced 2025-12-27 04:19:31 +08:00
提交代码
This commit is contained in:
@@ -18,11 +18,18 @@ public class TestClass {
|
||||
System.out.println(QRCodeUtil.toCharMatrix(image));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test04() {
|
||||
WebWeixinApi api = new WebWeixinApi();
|
||||
Wechat wechat = new Wechat();
|
||||
wechat.setWebWeixinApi(api);
|
||||
wechat.test();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test05() {
|
||||
WebWeixinApi api = new WebWeixinApi();
|
||||
Wechat wechat = new Wechat();
|
||||
wechat.setWebWeixinApi(api);
|
||||
System.out.println(wechat.autoLogin());
|
||||
}
|
||||
}
|
||||
|
||||
12
src/test/java/TestClass2.java
Normal file
12
src/test/java/TestClass2.java
Normal file
@@ -0,0 +1,12 @@
|
||||
import com.hotlcc.wechat4j.Wechat;
|
||||
import com.hotlcc.wechat4j.api.WebWeixinApi;
|
||||
|
||||
public class TestClass2 {
|
||||
public static void main(String[] args) {
|
||||
WebWeixinApi api = new WebWeixinApi();
|
||||
Wechat wechat = new Wechat();
|
||||
wechat.setWebWeixinApi(api);
|
||||
System.out.println(wechat.autoLogin());
|
||||
wechat.logout();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user