From 2919adfc0a1d677b80f6be53cf54e80dad4b3f19 Mon Sep 17 00:00:00 2001 From: 13579uiv Date: Mon, 19 Sep 2022 22:06:44 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=88=86=E5=88=86=E9=92=9F=E5=B1=9E=E6=80=A7profitSharing?= =?UTF-8?q?=E4=B8=BAString?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../binarywang/wxpay/bean/payscore/WxPayScoreRequest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java index e14f38af9..d05f9743e 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java @@ -43,6 +43,7 @@ public class WxPayScoreRequest implements Serializable { * notify_url : https://api.test.com * openid : oUpF8uMuAJO_M2pxb1Q9zNjWeS6o * need_user_confirm : true + * profitSharing :Y-是,需要分账 N-否,不分账,字母要求大写,不传默认不分账 */ @SerializedName("out_order_no") private String outOrderNo; @@ -67,7 +68,7 @@ public class WxPayScoreRequest implements Serializable { @SerializedName("need_user_confirm") private Boolean needUserConfirm; @SerializedName("profit_sharing") - private Boolean profitSharing; + private String profitSharing; @SerializedName("post_payments") private List postPayments; @SerializedName("post_discounts") -- Gitee From dcaa4c254b9bda6d40c9cde24646a09fb8e2d610 Mon Sep 17 00:00:00 2001 From: 13579uiv Date: Mon, 19 Sep 2022 22:12:25 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=88=86=E5=88=86=E9=92=9F=E5=B1=9E=E6=80=A7profitSharing?= =?UTF-8?q?=E4=B8=BAString?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../binarywang/wxpay/bean/payscore/WxPayScoreRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java index d05f9743e..7c1cfeab4 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java @@ -29,7 +29,7 @@ public class WxPayScoreRequest implements Serializable { return WxGsonBuilder.create().toJson(this); } - /** + /**` * out_order_no : 1234323JKHDFE1243252 * appid : wxd678efh567hg6787 * service_id : 500001 -- Gitee From c3d2baeb2a0f76e849de42119cdd89aab6870e77 Mon Sep 17 00:00:00 2001 From: zhangteng <2298939963@qq.com> Date: Thu, 22 Sep 2022 11:09:24 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=9EprofitSharing?= =?UTF-8?q?=E5=88=86=E8=B4=A6=E6=A0=87=E8=AF=86=E4=B8=BAboolean=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../binarywang/wxpay/bean/payscore/WxPayScoreRequest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java index 7c1cfeab4..5e8c59abb 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPayScoreRequest.java @@ -29,7 +29,7 @@ public class WxPayScoreRequest implements Serializable { return WxGsonBuilder.create().toJson(this); } - /**` + /** * out_order_no : 1234323JKHDFE1243252 * appid : wxd678efh567hg6787 * service_id : 500001 @@ -43,7 +43,7 @@ public class WxPayScoreRequest implements Serializable { * notify_url : https://api.test.com * openid : oUpF8uMuAJO_M2pxb1Q9zNjWeS6o * need_user_confirm : true - * profitSharing :Y-是,需要分账 N-否,不分账,字母要求大写,不传默认不分账 + * profitSharing : false:不分账,默认:false,true:分账 */ @SerializedName("out_order_no") private String outOrderNo; @@ -68,7 +68,7 @@ public class WxPayScoreRequest implements Serializable { @SerializedName("need_user_confirm") private Boolean needUserConfirm; @SerializedName("profit_sharing") - private String profitSharing; + private Boolean profitSharing; @SerializedName("post_payments") private List postPayments; @SerializedName("post_discounts") -- Gitee