mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
#420 开放平台模块增加小程序相关接口
This commit is contained in:
@@ -23,7 +23,6 @@ public class WxOpenAuthorizerInfo implements Serializable {
|
||||
private Map<String, Integer> businessInfo;
|
||||
private String alias;
|
||||
private String qrcodeUrl;
|
||||
|
||||
/**
|
||||
* 账号介绍
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package me.chanjar.weixin.open.bean.auth;
|
||||
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.tuple.Pair;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class WxOpenMiniProgramInfo {
|
||||
private Map<String, List<String>> network;
|
||||
private List<Pair<String, String>> categories;
|
||||
private Integer visitStatus;
|
||||
}
|
||||
@@ -15,4 +15,7 @@ public class WxOpenAuthorizerInfoResult implements Serializable {
|
||||
|
||||
private WxOpenAuthorizationInfo authorizationInfo;
|
||||
private WxOpenAuthorizerInfo authorizerInfo;
|
||||
public boolean isMiniProgram(){
|
||||
return authorizerInfo != null && authorizerInfo.getMiniProgramInfo() != null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user