🎨 修复错误转换逻辑

This commit is contained in:
sandy zeng 2021-11-28 23:24:31 +08:00 committed by GitHub
parent 95d130d927
commit ddf207e15b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ public class WxMpMassTagMessageGsonAdapter implements JsonSerializer<WxMpMassTag
messageJson.add(WxConsts.MassMsgType.MPVIDEO, sub);
}
messageJson.addProperty("msgtype", message.getMsgType());
messageJson.addProperty("send_ignore_reprint", message.isSendIgnoreReprint() ? 0 : 1);
messageJson.addProperty("send_ignore_reprint", message.isSendIgnoreReprint() ? 1 : 0);
if (StringUtils.isNotEmpty(message.getClientMsgId())) {
messageJson.addProperty("clientmsgid", message.getClientMsgId());