Browse Source

fixed 退款证书地址

fushengqian 1 year ago
parent
commit
e88b1419b2

+ 2 - 1
fuint-application/src/main/java/com/fuint/common/service/impl/WeixinServiceImpl.java

@@ -803,7 +803,8 @@ public class WeixinServiceImpl implements WeixinService {
         if (mtStore != null && StringUtil.isNotEmpty(mtStore.getWxApiV2()) && StringUtil.isNotEmpty(mtStore.getWxMchId())) {
         if (mtStore != null && StringUtil.isNotEmpty(mtStore.getWxApiV2()) && StringUtil.isNotEmpty(mtStore.getWxMchId())) {
             mchId = mtStore.getWxMchId();
             mchId = mtStore.getWxMchId();
             apiV2 = mtStore.getWxApiV2();
             apiV2 = mtStore.getWxApiV2();
-            certPath = mtStore.getWxCertPath();
+            String basePath = settingService.getUploadBasePath();
+            certPath = basePath + mtStore.getWxCertPath();
         }
         }
         apiConfig = WxPayApiConfig.builder()
         apiConfig = WxPayApiConfig.builder()
                    .appId(wxPayBean.getAppId())
                    .appId(wxPayBean.getAppId())