From 4532ca7e676b510c35855bfadf10106ba7bd12e8 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期二, 28 四月 2026 10:11:50 +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