mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-07-16 07:59:43 +08:00
fix: issue #112
This commit is contained in:
parent
82016c02bf
commit
7efdd448d1
@ -34,7 +34,7 @@ public class WxCpMessageGsonAdapter implements JsonSerializer<WxCpMessage> {
|
|||||||
messageJson.addProperty("toparty", message.getToParty());
|
messageJson.addProperty("toparty", message.getToParty());
|
||||||
}
|
}
|
||||||
if (StringUtils.isNotBlank(message.getToTag())) {
|
if (StringUtils.isNotBlank(message.getToTag())) {
|
||||||
messageJson.addProperty("totag", message.getToUser());
|
messageJson.addProperty("totag", message.getToTag());
|
||||||
}
|
}
|
||||||
if (WxConsts.CUSTOM_MSG_TEXT.equals(message.getMsgType())) {
|
if (WxConsts.CUSTOM_MSG_TEXT.equals(message.getMsgType())) {
|
||||||
JsonObject text = new JsonObject();
|
JsonObject text = new JsonObject();
|
||||||
|
Loading…
Reference in New Issue
Block a user