From 79307f762837585533a501f8117f2edd5e711d5f Mon Sep 17 00:00:00 2001 From: buaazyl Date: Wed, 13 May 2026 10:11:41 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20#3998=20=E3=80=90=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E3=80=91=E4=BF=AE=E6=AD=A3=E5=90=88=E4=BD=9C?= =?UTF-8?q?=E4=BC=99=E4=BC=B4=E8=AE=A2=E9=98=85=E9=80=9A=E7=9F=A5=E8=A7=A3?= =?UTF-8?q?=E5=AF=86=E5=90=8E=E6=B6=88=E6=81=AF=E4=BD=93=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../notify/PartnerSubscribeNotifyResult.java | 83 ++++++++++++++----- 1 file changed, 61 insertions(+), 22 deletions(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/PartnerSubscribeNotifyResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/PartnerSubscribeNotifyResult.java index 52917ddf1..1e0bf27ea 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/PartnerSubscribeNotifyResult.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/PartnerSubscribeNotifyResult.java @@ -32,35 +32,74 @@ public class PartnerSubscribeNotifyResult implements Serializable, @NoArgsConstructor public static class DecryptNotifyResult implements Serializable { private static final long serialVersionUID = 1L; + /** - * 商户号 + * 消息内容 */ - @SerializedName("merchant_code") - private String merchantCode; + @SerializedName("message_content") + private MessageContent messageContent; /** - * 商户全称 + * 主题名称 */ - @SerializedName("merchant_company_name") - private String merchantCompanyName; + @SerializedName("topic_name") + private TopicName topicName; + /** - * 业务发生时间 + * 消息内容 */ - @SerializedName("business_time") - private String businessTime; + @Data + @NoArgsConstructor + public static class MessageContent implements Serializable { + private static final long serialVersionUID = 1L; + /** + * 商户号 + */ + @SerializedName("merchant_code") + private String merchantCode; + /** + * 商户全称 + */ + @SerializedName("merchant_company_name") + private String merchantCompanyName; + /** + * 业务发生时间 + */ + @SerializedName("business_time") + private String businessTime; + /** + * 业务单据 + */ + @SerializedName("business_code") + private String businessCode; + /** + * 业务状态 + */ + @SerializedName("business_state") + private String businessState; + /** + * 备注 + */ + @SerializedName("remark") + private String remark; + } + /** - * 业务单据 + * 主题名称 */ - @SerializedName("business_code") - private String businessCode; - /** - * 业务状态 - */ - @SerializedName("business_state") - private String businessState; - /** - * 备注 - */ - @SerializedName("remark") - private String remark; + @Data + @NoArgsConstructor + public static class TopicName implements Serializable { + private static final long serialVersionUID = 1L; + /** + * 主题英文名 + */ + @SerializedName("topic_english_name") + private String topicEnglishName; + /** + * 主题中文名 + */ + @SerializedName("topic_chinese_name") + private String topicChineseName; + } } }