🎨 #2137 【企业微信】消息类里的Id修改为String以兼容字符串类型
This commit is contained in:
@@ -25,8 +25,8 @@ import me.chanjar.weixin.cp.util.xml.XStreamTransformer;
|
||||
@Slf4j
|
||||
@Data
|
||||
public class WxCpTpXmlMessage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6031833682211475786L;
|
||||
|
||||
/**
|
||||
* 使用dom4j解析的存放所有xml属性和值的map.
|
||||
*/
|
||||
@@ -109,8 +109,8 @@ public class WxCpTpXmlMessage implements Serializable {
|
||||
protected String telephone;
|
||||
|
||||
@XStreamAlias("Id")
|
||||
@XStreamConverter(value = IntConverter.class)
|
||||
protected Integer id;
|
||||
@XStreamConverter(value = XStreamCDataConverter.class)
|
||||
protected String id;
|
||||
|
||||
@XStreamAlias("Name")
|
||||
@XStreamConverter(value = XStreamCDataConverter.class)
|
||||
@@ -410,7 +410,7 @@ public class WxCpTpXmlMessage implements Serializable {
|
||||
@XStreamAlias("NotifyNode")
|
||||
public static class NotifyNode implements Serializable {
|
||||
private static final long serialVersionUID = 6031833682211475786L;
|
||||
|
||||
|
||||
@XStreamAlias("ItemName")
|
||||
protected String itemName;
|
||||
@XStreamAlias("ItemUserId")
|
||||
|
||||
Reference in New Issue
Block a user