From 1ccce79b6b993f9d1b7acd0ad25c04a3e9e8588d Mon Sep 17 00:00:00 2001 From: Binary Wang Date: Sat, 25 Apr 2020 23:15:15 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=AE=8C=E7=BB=93=E5=88=86=E8=B4=A6=E6=8E=A5=E5=8F=A3=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=95=86=E6=A8=A1=E5=BC=8F=E4=B8=8B=E7=AD=BE=E5=90=8D?= =?UTF-8?q?=E6=97=B6=E9=9C=80=E8=A6=81=E5=BF=BD=E7=95=A5subAppId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bean/profitsharing/ProfitSharingFinishRequest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/profitsharing/ProfitSharingFinishRequest.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/profitsharing/ProfitSharingFinishRequest.java index 3a0ee936..c8200b4c 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/profitsharing/ProfitSharingFinishRequest.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/profitsharing/ProfitSharingFinishRequest.java @@ -66,10 +66,15 @@ public class ProfitSharingFinishRequest extends BaseWxPayRequest { private String description; @Override - protected void checkConstraints() throws WxPayException { + protected void checkConstraints() { this.setSignType(WxPayConstants.SignType.HMAC_SHA256); } + @Override + protected boolean ignoreSubAppId() { + return true; + } + @Override protected void storeMap(Map map) { map.put("transaction_id", transactionId);