From 2101dee779fde39320fa3162d51e0b23a1907264 Mon Sep 17 00:00:00 2001 From: ArBing Date: Wed, 13 Oct 2021 11:56:31 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=20=E3=80=90=E4=BC=81=E4=B8=9A=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E3=80=91=E6=B0=B8=E4=B9=85=E6=8E=88=E6=9D=83=E7=A0=81?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=A2=9E=E5=8A=A0authMode=E3=80=81isCustomiz?= =?UTF-8?q?edApp=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../me/chanjar/weixin/cp/bean/WxCpTpAuthInfo.java | 12 ++++++++++++ .../weixin/cp/bean/WxCpTpPermanentCodeInfo.java | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpAuthInfo.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpAuthInfo.java index 02d51095c8..9ca4971754 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpAuthInfo.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpAuthInfo.java @@ -152,6 +152,18 @@ public static class Agent implements Serializable { @Deprecated private String appid; + /** + * 授权模式,0为管理员授权;1为成员授权 + */ + @SerializedName("auth_mode") + private Integer authMode; + + /** + * 是否为代开发自建应用 + */ + @SerializedName("is_customized_app") + private Boolean isCustomizedApp; + /** * 应用权限 */ diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpPermanentCodeInfo.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpPermanentCodeInfo.java index 02793de14d..9774f6230b 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpPermanentCodeInfo.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpPermanentCodeInfo.java @@ -151,6 +151,18 @@ public static class Agent implements Serializable { @Deprecated private String appid; + /** + * 授权模式,0为管理员授权;1为成员授权 + */ + @SerializedName("auth_mode") + private Integer authMode; + + /** + * 是否为代开发自建应用 + */ + @SerializedName("is_customized_app") + private Boolean isCustomizedApp; + /** * 应用权限 */