From d7912648c23a7244e751e0a9baed1efdc47d70a6 Mon Sep 17 00:00:00 2001 From: xiaohanzi Date: Tue, 25 May 2021 11:19:23 +0800 Subject: [PATCH] fix cashout --- .../service/pay/service/cashout/wx/WxCashOutAdapterService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/pay/service/cashout/wx/WxCashOutAdapterService.java b/mallinkService/src/main/java/com/iformall/service/pay/service/cashout/wx/WxCashOutAdapterService.java index f9c9f3761..36d0444ea 100644 --- a/mallinkService/src/main/java/com/iformall/service/pay/service/cashout/wx/WxCashOutAdapterService.java +++ b/mallinkService/src/main/java/com/iformall/service/pay/service/cashout/wx/WxCashOutAdapterService.java @@ -277,7 +277,7 @@ public class WxCashOutAdapterService implements CashOutAdapterService{ throw new MallinkException(ErrorCode.SYS_PARAMETER_CAST_ERROR.getCode(), "零钱支付签名异常"); } - String signAgent = WxPayment.createSign(signMap, payAccount.getApiKey()); + String signAgent = WxPayment.createSign(signMap, payAccount.getMerchantApiKey()); signMap.put("sign", signAgent); String response = null; try {