Browse Source

fixed 支付证书问题

fushengqian 1 year ago
parent
commit
da8c8055e6

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

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