mirror of
https://gitee.com/hotlcc/wechat4j.git
synced 2025-06-08 03:24:09 +08:00
更新 README.md
This commit is contained in:
parent
990f1ada42
commit
87d0eb0615
@ -53,7 +53,7 @@ wechat.addReceivedMsgHandler(new ReceivedMsgHandler() {
|
||||
UserInfo contact = wechat.getContactByUserName(false, msg.getFromUserName());
|
||||
String name = StringUtil.isEmpty(contact.getRemarkName()) ? contact.getNickName() : contact.getRemarkName();
|
||||
System.out.println(name + ": " + msg.getContent());
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user