群发接口响应 增加msgDataId字段 用于图文分析

This commit is contained in:
miller
2016-06-01 10:07:20 +08:00
parent 2ec3c527c2
commit 902b6897a1
2 changed files with 13 additions and 1 deletions

View File

@@ -34,6 +34,9 @@ public class WxMpMassSendResultAdapter implements JsonDeserializer<WxMpMassSendR
if (sendResultJsonObject.get("msg_id") != null && !sendResultJsonObject.get("msg_id").isJsonNull()) {
sendResult.setMsgId(GsonHelper.getAsString(sendResultJsonObject.get("msg_id")));
}
if (sendResultJsonObject.get("msg_data_id") != null && !sendResultJsonObject.get("msg_data_id").isJsonNull()) {
sendResult.setMsgDataId(GsonHelper.getAsString(sendResultJsonObject.get("msg_data_id")));
}
return sendResult;
}