去掉模版消息里无用的topcolor参数

This commit is contained in:
Binary Wang
2016-11-04 16:58:39 +08:00
parent 3ed717a448
commit 6cf7b08897
2 changed files with 5 additions and 22 deletions

View File

@@ -28,9 +28,6 @@ public class WxMpTemplateMessageGsonAdapter implements JsonSerializer<WxMpTempla
if (message.getUrl() != null) {
messageJson.addProperty("url", message.getUrl());
}
if (message.getTopColor() != null) {
messageJson.addProperty("topcolor", message.getTopColor());
}
JsonObject data = new JsonObject();
messageJson.add("data", data);