mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-04 12:47:46 +08:00
🎨 #1355 小程序订阅消息类WxMaSubscribeMessage.Data类实现序列化接口
This commit is contained in:
parent
7a7a920a8a
commit
4378228012
@ -65,6 +65,7 @@ public class WxMaSubscribeMessage implements Serializable {
|
|||||||
if (this.data == null) {
|
if (this.data == null) {
|
||||||
this.data = new ArrayList<>();
|
this.data = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.data.add(datum);
|
this.data.add(datum);
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
@ -77,7 +78,9 @@ public class WxMaSubscribeMessage implements Serializable {
|
|||||||
@lombok.Data
|
@lombok.Data
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public static class Data {
|
public static class Data implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
private String value;
|
private String value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user