From 3ae5a234bc5d34ab637f3e9dbd35fa6ec2994ad1 Mon Sep 17 00:00:00 2001 From: J <393229227@qq.com> Date: Wed, 19 Jul 2023 13:14:18 +0800 Subject: [PATCH 1/4] =?UTF-8?q?#3089=E3=80=90=E5=BE=AE=E4=BF=A1=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E3=80=91=E6=96=B0=E5=A2=9E=E4=BB=A3=E9=87=91=E5=88=B8?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E8=BF=94=E5=9B=9E=E5=95=86=E6=88=B7=E5=8D=95?= =?UTF-8?q?=E6=8D=AE=E5=8F=B7=EF=BC=8C=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wxpay/bean/marketing/FavorCouponsGetResult.java | 9 +++++++++ .../wxpay/bean/marketing/FavorStocksGetResult.java | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorCouponsGetResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorCouponsGetResult.java index 3b89cec05..ff4be1207 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorCouponsGetResult.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorCouponsGetResult.java @@ -142,6 +142,15 @@ public class FavorCouponsGetResult implements Serializable { @SerializedName("singleitem") private Boolean singleitem; + /** + * 商户单据号 + *
+ * 商户此次发放凭据号(格式:商户id+日期+流水号),可包含英文字母,数字,|,_,*,-等内容,不允许出现其他不合法符号,商户侧需保持唯一性。 + * 示例值: 89560002019101000121 + */ + @SerializedName("out_request_no") + private String outRequestNo; + /** * 满减券信息 *
diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksGetResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksGetResult.java index b6b24f88c..294f273de 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksGetResult.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksGetResult.java @@ -112,7 +112,7 @@ public class FavorStocksGetResult implements Serializable { * 示例值:100 */ @SerializedName("distributed_coupons") - private Integer distributedCoupons; + private Long distributedCoupons; /** * 是否无资金流 -- Gitee From 044eb0e938f8efc8f594a5bb7044987a46b8f560 Mon Sep 17 00:00:00 2001 From: J <393229227@qq.com> Date: Wed, 19 Jul 2023 13:14:18 +0800 Subject: [PATCH 2/4] =?UTF-8?q?:new:#3089=E3=80=90=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E3=80=91=E6=96=B0=E5=A2=9E=E4=BB=A3=E9=87=91?= =?UTF-8?q?=E5=88=B8=E8=AF=A6=E6=83=85=E8=BF=94=E5=9B=9E=E5=95=86=E6=88=B7?= =?UTF-8?q?=E5=8D=95=E6=8D=AE=E5=8F=B7=EF=BC=8C=E4=BF=AE=E5=A4=8D=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wxpay/bean/marketing/FavorCouponsGetResult.java | 9 +++++++++ .../wxpay/bean/marketing/FavorStocksGetResult.java | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorCouponsGetResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorCouponsGetResult.java index 3b89cec05..ff4be1207 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorCouponsGetResult.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorCouponsGetResult.java @@ -142,6 +142,15 @@ public class FavorCouponsGetResult implements Serializable { @SerializedName("singleitem") private Boolean singleitem; + /** + * 商户单据号 + *
+ * 商户此次发放凭据号(格式:商户id+日期+流水号),可包含英文字母,数字,|,_,*,-等内容,不允许出现其他不合法符号,商户侧需保持唯一性。 + * 示例值: 89560002019101000121 + */ + @SerializedName("out_request_no") + private String outRequestNo; + /** * 满减券信息 *
diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksGetResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksGetResult.java
index b6b24f88c..294f273de 100644
--- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksGetResult.java
+++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksGetResult.java
@@ -112,7 +112,7 @@ public class FavorStocksGetResult implements Serializable {
* 示例值:100
*/
@SerializedName("distributed_coupons")
- private Integer distributedCoupons;
+ private Long distributedCoupons;
/**
* 是否无资金流
--
Gitee
From dfbfdb59c187b23d9ba5ad598bb8a92a3c7ddd62 Mon Sep 17 00:00:00 2001
From: J <393229227@qq.com>
Date: Wed, 26 Jul 2023 14:15:02 +0800
Subject: [PATCH 3/4] =?UTF-8?q?:art:=20BaseWxMaServiceImpl=E3=80=81BaseWxP?=
=?UTF-8?q?ayServiceImpl=E4=B8=ADmap=E8=B5=8B=E5=88=9D=E5=A7=8B=E5=80=BC?=
=?UTF-8?q?=EF=BC=8C=E9=81=BF=E5=85=8D=E6=9C=AA=E9=85=8D=E7=BD=AE=E6=97=B6?=
=?UTF-8?q?=E7=A9=BA=E6=8C=87=E9=92=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cn/binarywang/wx/miniapp/api/impl/BaseWxMaServiceImpl.java | 2 +-
.../binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/api/impl/BaseWxMaServiceImpl.java b/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/api/impl/BaseWxMaServiceImpl.java
index 9f3d230c8..3847b397e 100644
--- a/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/api/impl/BaseWxMaServiceImpl.java
+++ b/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/api/impl/BaseWxMaServiceImpl.java
@@ -90,7 +90,7 @@ public abstract class BaseWxMaServiceImpl