From a8a10ec2a3fe7d8db166413a92a34926fb178533 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期三, 29 四月 2026 19:59:17 +0800
Subject: [PATCH] 重发机制兼容

---
 rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/ReportMsgServiceImpl.java |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/ReportMsgServiceImpl.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/ReportMsgServiceImpl.java
index a1c7793..611cefc 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/ReportMsgServiceImpl.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/ReportMsgServiceImpl.java
@@ -59,8 +59,6 @@
     @Autowired
     private PurchaseService purchaseService;
     @Autowired
-    private RemotesInfoProperties.ApiInfo apiInfo;
-    @Autowired
     private RestTemplate restTemplate;
     @Autowired
     private RemotesInfoProperties remotesInfoProperties;
@@ -123,7 +121,7 @@
         if (!remotesInfoProperties.getHost().equals("http://127.0.0.1")){
             MultiValueMap<String, Object> params = new LinkedMultiValueMap<>();
             //鑾峰彇涓婃姤璐ㄦ鎺ュ彛
-            String url = remotesInfoProperties.getBaseUrl() + apiInfo.getNotifyInspect();
+            String url = remotesInfoProperties.getBaseUrl() + remotesInfoProperties.getApi().getNotifyInspect();
             // 璁剧疆璇锋眰鍙傛暟
             params.add("params", JSONObject.toJSONString(inspectParams));
             log.info("璇锋眰鍦板潃锛歿}锛岃姹傚弬鏁帮細{}", url, JSONObject.toJSONString(inspectParams));

--
Gitblit v1.9.1