From 509786ef9761bf2fd6ba004a75622d7477131ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=BF=97=E8=B6=85?= <1312189559@qq.com> Date: Mon, 28 Oct 2019 12:39:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=A0jsonStr=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=AF=BC=E8=87=B4=E9=83=A8=E5=88=86=E5=8D=8E=E4=B8=BA?= =?UTF-8?q?=E6=9C=BA=E5=9E=8B=E6=94=B6=E4=B8=8D=E5=88=B0=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=8F=82=E6=95=B0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E5=B0=86String=E7=B1=BB=E5=9E=8B=E6=8D=A2?= =?UTF-8?q?=E6=88=90Object=EF=BC=8C=E7=9B=B4=E6=8E=A5=E4=BC=A0JSON?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/tencent/xinge/bean/MessageAndroid.java | 6 +++--- src/main/java/com/tencent/xinge/bean/MessageIOS.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/tencent/xinge/bean/MessageAndroid.java b/src/main/java/com/tencent/xinge/bean/MessageAndroid.java index 4452edd..d8389fd 100644 --- a/src/main/java/com/tencent/xinge/bean/MessageAndroid.java +++ b/src/main/java/com/tencent/xinge/bean/MessageAndroid.java @@ -50,7 +50,7 @@ public class MessageAndroid { private ClickAction action; @JsonProperty(value = "custom_content") - private String custom_content; + private Object custom_content; public int getN_id() { return n_id; @@ -148,11 +148,11 @@ public void setAction(ClickAction action) { this.action = action; } - public String getCustom_content() { + public Object getCustom_content() { return custom_content; } - public void setCustom_content(String custom_content) { + public void setCustom_content(Object custom_content) { this.custom_content = custom_content; } diff --git a/src/main/java/com/tencent/xinge/bean/MessageIOS.java b/src/main/java/com/tencent/xinge/bean/MessageIOS.java index 85d90f9..a8842b5 100644 --- a/src/main/java/com/tencent/xinge/bean/MessageIOS.java +++ b/src/main/java/com/tencent/xinge/bean/MessageIOS.java @@ -13,18 +13,18 @@ public class MessageIOS { @JsonProperty(value = "custom") @ApiModelProperty(notes = "自定义下发的参数") - private String custom; + private Object custom; @JsonProperty(value = "xg") @ApiModelProperty(notes = "系统保留key,应避免使用") private String xg; - public String getCustom() { + public Object getCustom() { return custom; } - public void setCustom(String custom) { + public void setCustom(Object custom) { this.custom = custom; }