2
0
mirror of https://gitee.com/hotlcc/wechat4j.git synced 2025-07-19 07:09:35 +08:00

提交代码

This commit is contained in:
hotlcc 2018-07-25 20:36:46 +08:00
parent 342a8ed5c9
commit df213329ef

View File

@ -16,7 +16,7 @@ public class TestClass2 {
UserInfo contact = wechat.getContactByUserName(false, msg.getFromUserName()); UserInfo contact = wechat.getContactByUserName(false, msg.getFromUserName());
System.out.println(contact.getRemarkName() + "" + msg.getContent()); System.out.println(contact.getRemarkName() + "" + msg.getContent());
if ("李国栋".equals(contact.getRemarkName())) { if ("李国栋".equals(contact.getRemarkName())) {
JSONObject result = wechat.sendText("你的消息收到了", contact.getUserName()); JSONObject result = wechat.sendText("你的消 息收到了", contact.getUserName());
System.out.println(result); System.out.println(result);
} }
} }