mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-02 20:02:37 +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) {
|
||||
this.data = new ArrayList<>();
|
||||
}
|
||||
|
||||
this.data.add(datum);
|
||||
|
||||
return this;
|
||||
@ -77,7 +78,9 @@ public class WxMaSubscribeMessage implements Serializable {
|
||||
@lombok.Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class Data {
|
||||
public static class Data implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String name;
|
||||
private String value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user