src/main/java/cc/mrbird/febs/pay/util/WeixinServiceUtil.java | ●●●●● patch | view | raw | blame | history | |
src/main/resources/application-prod.yml | ●●●●● patch | view | raw | blame | history |
src/main/java/cc/mrbird/febs/pay/util/WeixinServiceUtil.java
@@ -102,8 +102,11 @@ JsApiPayBusiness jsApiPayBusiness = new JsApiPayBusiness(); String paySecret = xcxProperties.getWecharpaySecret(); String appId = xcxProperties.getXcxAppid(); // String certLocalPath = xcxProperties.getCertLocalPath(); String certLocalPath = "src/main/resources/wxP12/apiclient_cert.p12"; Boolean debug = xcxProperties.getDebug(); String certLocalPath = xcxProperties.getCertLocalPath(); if(debug){ certLocalPath = "src/main/resources/wxP12/apiclient_cert.p12"; } RefundReqData refundReqData=new RefundReqData(mchID,appId,paySecret, outTradeNo, outRefundNo, totalFee, refundFee,opUserID); RefundService refundService=new RefundService(); src/main/resources/application-prod.yml
@@ -66,7 +66,7 @@ debug: false wecharPaynotifyUrl: https://xcxapi.csyzyl.com/api/xcxPay/wxpayCallback wecharRechargePaynotifyUrl: https://xcxapi.csyzyl.com/api/xcxPay/rechargeCallBack certLocalPath: /home/javaweb/webresource/yzyl/cert/apiclient_cert.p12 certLocalPath: /home/yzylcert/apiclient_cert.p12 wecharpayMchid: 1676508272 wecharpaySecret: YYSC13875978057YYSC13875978057SH gaodeKey: 95ede7157929f5f6b6c758971be924b1