Skip to content

修复备案接口属性定义错误 #3359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import me.chanjar.weixin.open.bean.result.WxOpenResult;

import java.io.Serializable;
import java.util.List;


/**
Expand Down Expand Up @@ -49,7 +50,7 @@ public static class Info implements Serializable {
* 驳回原因,备案不通过时返回
*/
@SerializedName("audit_data")
private AuditData auditData;
private List<AuditData> auditData;

/**
* 备案入口是否对该小程序开放,0:不开放,1:开放。特定情况下入口不会开放,如小程序昵称包含某些关键词时、管局系统不可用时,当备案入口开放时才能提交备案申请
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class WxOpenUploadIcpMediaParam implements Serializable {
* 证件类型(参考:获取证件类型),如果上传的是证件媒体材料,则必填,示例值:2
*/
@SerializedName("certificate_type")
private String certificateType;
private Integer certificateType;

/**
* 媒体材料所属的备案字段名(参考:申请小程序备案接口),如要用于多个备案字段,则填写其中一个字段名即可。
Expand All @@ -54,7 +54,7 @@ public CommonUploadMultiParam toCommonUploadMultiParam() {
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))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public class WxOpenXmlMessage implements Serializable {
* 小程序唯一id
*/
@XStreamAlias("authorizer_appid")
private String authorizerAppId;
private String beianAuthorizerAppId;
/**
* 备案状态,参考“获取小程序备案状态及驳回原因”接口的备案状态枚举¬
*/
Expand Down