From 6ef2e83fe20d4485deeba8784a1de8928bdfc3bc Mon Sep 17 00:00:00 2001 From: Molzx <31435895+Molzx@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:47:59 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20#3359=20=E3=80=90=E5=BC=80=E6=94=BE?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E3=80=91=E4=BF=AE=E5=A4=8D=E5=A4=87=E6=A1=88?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=B1=9E=E6=80=A7=E5=AE=9A=E4=B9=89=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../weixin/open/bean/icp/WxOpenIcpEntranceInfoResult.java | 3 ++- .../weixin/open/bean/icp/WxOpenUploadIcpMediaParam.java | 4 ++-- .../me/chanjar/weixin/open/bean/message/WxOpenXmlMessage.java | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/icp/WxOpenIcpEntranceInfoResult.java b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/icp/WxOpenIcpEntranceInfoResult.java index 9538a64b0..be52efa6f 100644 --- a/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/icp/WxOpenIcpEntranceInfoResult.java +++ b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/icp/WxOpenIcpEntranceInfoResult.java @@ -7,6 +7,7 @@ import lombok.Setter; import me.chanjar.weixin.open.bean.result.WxOpenResult; import java.io.Serializable; +import java.util.List; /** @@ -49,7 +50,7 @@ public class WxOpenIcpEntranceInfoResult extends WxOpenResult { * 驳回原因,备案不通过时返回 */ @SerializedName("audit_data") - private AuditData auditData; + private List auditData; /** * 备案入口是否对该小程序开放,0:不开放,1:开放。特定情况下入口不会开放,如小程序昵称包含某些关键词时、管局系统不可用时,当备案入口开放时才能提交备案申请 diff --git a/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/icp/WxOpenUploadIcpMediaParam.java b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/icp/WxOpenUploadIcpMediaParam.java index a5eda8ab4..e431ab870 100644 --- a/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/icp/WxOpenUploadIcpMediaParam.java +++ b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/icp/WxOpenUploadIcpMediaParam.java @@ -34,7 +34,7 @@ public class WxOpenUploadIcpMediaParam implements Serializable { * 证件类型(参考:获取证件类型),如果上传的是证件媒体材料,则必填,示例值:2 */ @SerializedName("certificate_type") - private String certificateType; + private Integer certificateType; /** * 媒体材料所属的备案字段名(参考:申请小程序备案接口),如要用于多个备案字段,则填写其中一个字段名即可。 @@ -54,7 +54,7 @@ public class WxOpenUploadIcpMediaParam implements Serializable { return CommonUploadMultiParam.builder() .normalParams(Arrays.asList( CommonUploadMultiParam.NormalParam.builder().name("type").value(type).build(), - CommonUploadMultiParam.NormalParam.builder().name("certificate_type").value(certificateType).build(), + CommonUploadMultiParam.NormalParam.builder().name("certificate_type").value(String.valueOf(certificateType)).build(), CommonUploadMultiParam.NormalParam.builder().name("icp_order_field").value(icpOrderField).build() )) .uploadParam(new CommonUploadParam("media", media)) diff --git a/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/message/WxOpenXmlMessage.java b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/message/WxOpenXmlMessage.java index e676f0ab6..dc6839c1a 100644 --- a/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/message/WxOpenXmlMessage.java +++ b/weixin-java-open/src/main/java/me/chanjar/weixin/open/bean/message/WxOpenXmlMessage.java @@ -147,7 +147,7 @@ public class WxOpenXmlMessage implements Serializable { * 小程序唯一id */ @XStreamAlias("authorizer_appid") - private String authorizerAppId; + private String beianAuthorizerAppId; /** * 备案状态,参考“获取小程序备案状态及驳回原因”接口的备案状态枚举¬ */