diff --git a/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/ma/WxMaOpenCommitExtInfo.java b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/ma/WxMaOpenCommitExtInfo.java index c38867bae7..66aebec3fd 100644 --- a/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/ma/WxMaOpenCommitExtInfo.java +++ b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/ma/WxMaOpenCommitExtInfo.java @@ -43,6 +43,12 @@ public class WxMaOpenCommitExtInfo implements Serializable { @SerializedName("pages") private List pageList; + /** + * 分包结构配置 + */ + @SerializedName("subpackages") + private List subpackageList; + @SerializedName("window") private WxMaOpenWindow window; diff --git a/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/ma/WxMaOpenSubpackage.java b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/ma/WxMaOpenSubpackage.java new file mode 100644 index 0000000000..e74049a530 --- /dev/null +++ b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/ma/WxMaOpenSubpackage.java @@ -0,0 +1,35 @@ +package me.chanjar.weixin.open.bean.ma; + +import lombok.Builder; +import lombok.Data; + +/** + * @author: momorans + * @create: 2019-03-12 + **/ +@Data +@Builder +public class WxMaOpenSubpackage { + /** + * 分包根目录 + */ + private String root; + + /** + * 分包别名,分包预下载时可以使用 + */ + private String name; + + + /** + * 分包页面路径,相对与分包根目录 + */ + private String pages; + + /** + * 分包是否是独立分包 + */ + private Boolean independent; + + +}