mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
#970 第三方平台-小程序帐号上传小程序代码增加缺失的subpackages分包上传参数
#968 第三方授权-授权注册页面扫码授权地址参数补充完整
This commit is contained in:
parent
507921be65
commit
b33e1708c0
@ -26,7 +26,7 @@ public interface WxOpenComponentService {
|
||||
String API_GET_AUTHORIZER_OPTION_URL = "https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_option";
|
||||
String API_SET_AUTHORIZER_OPTION_URL = "https://api.weixin.qq.com/cgi-bin/component/api_set_authorizer_option";
|
||||
|
||||
String COMPONENT_LOGIN_PAGE_URL = "https://mp.weixin.qq.com/cgi-bin/componentloginpage?component_appid=%s&pre_auth_code=%s&redirect_uri=%s";
|
||||
String COMPONENT_LOGIN_PAGE_URL = "https://mp.weixin.qq.com/cgi-bin/componentloginpage?component_appid=%s&pre_auth_code=%s&redirect_uri=%s&auth_type=xxx&biz_appid=xxx";
|
||||
|
||||
/**
|
||||
* 手机端打开授权链接
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user