src/main/java/cc/mrbird/febs/pay/controller/XcxPayController.java
@@ -22,7 +22,6 @@ import cn.hutool.core.util.ObjectUtil; import cn.hutool.json.JSONObject; import cn.hutool.json.JSONUtil; import com.wechat.pay.contrib.apache.httpclient.notification.NotificationRequest; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; src/main/java/cc/mrbird/febs/pay/util/WeixinServiceUtil.java
@@ -102,7 +102,8 @@ JsApiPayBusiness jsApiPayBusiness = new JsApiPayBusiness(); String paySecret = xcxProperties.getWecharpaySecret(); String appId = xcxProperties.getXcxAppid(); String certLocalPath = xcxProperties.getCertLocalPath(); // String certLocalPath = xcxProperties.getCertLocalPath(); String 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/wxP12/apiclient_cert.p12Binary files differ