From e4bab34df3ab48e1207a9ae36f1f7f55c504e54b Mon Sep 17 00:00:00 2001 From: wu Date: Wed, 11 Dec 2024 09:29:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8F=AD=E5=89=8D=E7=8F=AD?= =?UTF-8?q?=E5=90=8E=E5=9B=BE=E7=89=87url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/mudu/quartz/BqbhTszyQuartz.java | 6 +++--- src/main/resources/application-dev.yml | 3 +++ src/main/resources/application-prod.yml | 3 +++ src/main/resources/application-test.yml | 3 +++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/mudu/quartz/BqbhTszyQuartz.java b/src/main/java/com/mudu/quartz/BqbhTszyQuartz.java index 0f90f35..dc7f8c1 100644 --- a/src/main/java/com/mudu/quartz/BqbhTszyQuartz.java +++ b/src/main/java/com/mudu/quartz/BqbhTszyQuartz.java @@ -57,8 +57,8 @@ public class BqbhTszyQuartz { @Value("${tszyUrl}") private String tszyUrl; - @Value("${api}") - private String api; + @Value("${bqbhTpUrl}") + private String bqbhTpUrl; /** * 木渎二期token @@ -92,7 +92,7 @@ public class BqbhTszyQuartz { ASafeBqbhpx aSafeBqbhpx = BeanUtil.copyProperties(x, ASafeBqbhpx.class); XcTpResponse xcTpResponse = new XcTpResponse(); if (StrUtil.isNotEmpty(aSafeBqbhpx.getPxxctp())) { - xcTpResponse.setFJDZ(api + aSafeBqbhpx.getPxxctp()); + xcTpResponse.setFJDZ(bqbhTpUrl + aSafeBqbhpx.getPxxctp()); xcTpResponse.setFJHZ(aSafeBqbhpx.getPxxctp().substring(aSafeBqbhpx.getPxxctp().lastIndexOf(".") + 1)); xcTpResponse.setFJLX(""); xcTpResponse.setFJMC(aSafeBqbhpx.getPxxctp().substring(aSafeBqbhpx.getPxxctp().lastIndexOf("/") + 1)); diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 53b9dbc..7720e0b 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -73,6 +73,9 @@ zctpUrl: http://localhost:9028/mudu/quatz/zctp #图片路径 api: http://mdapi.junln.net/api/ +#班前班后图片 +bqbhTpUrl: https://www.jichuanglanhai.com:88 + #获取工单信息 #imUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/get imUrl: http://localhost:9028/mudu/quatz/get diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index a991768..0751a86 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -39,6 +39,9 @@ zctpUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/zctp #图片路径 api: https://www.jichuanglanhai.com:88/api/ +#班前班后图片 +bqbhTpUrl: https://www.jichuanglanhai.com:88 + #获取工单信息 imUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/get diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 2ff1f76..c04c7aa 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -39,6 +39,9 @@ zctpUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/zctp #图片路径 api: http://mdapi.junln.net/api/ +#班前班后图片 +bqbhTpUrl: https://www.jichuanglanhai.com:88 + #获取工单信息 imUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/get