KKSU
2024-05-30 ffb38bc2a78e67e56bfb5bf028a1567204ea59eb
图片上传
3 files modified
4 ■■■■ changed files
src/main/java/cc/mrbird/febs/pay/controller/XcxPayController.java 1 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/pay/util/WeixinServiceUtil.java 3 ●●●● patch | view | raw | blame | history
src/main/resources/wxP12/apiclient_cert.p12 patch | view | raw | blame | history
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.p12
Binary files differ