Skip to content

Commit

Permalink
#Fix issue binarywang#970 补充上传小程序代码分包上传参数subpackages
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanbing committed Mar 12, 2019
1 parent a88d5ce commit d1d5c0c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ public class WxMaOpenCommitExtInfo implements Serializable {
@SerializedName("pages")
private List<String> pageList;

/**
* 分包结构配置
*/
@SerializedName("subpackages")
private List<WxMaOpenSubpackage> subpackageList;

@SerializedName("window")
private WxMaOpenWindow window;

Expand Down
Original file line number Diff line number Diff line change
@@ -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;


}

0 comments on commit d1d5c0c

Please sign in to comment.