修改班前班后图片url

main
吴顺杰 2 months ago
parent 48bcefef7b
commit e4bab34df3

@ -57,8 +57,8 @@ public class BqbhTszyQuartz {
@Value("${tszyUrl}") @Value("${tszyUrl}")
private String tszyUrl; private String tszyUrl;
@Value("${api}") @Value("${bqbhTpUrl}")
private String api; private String bqbhTpUrl;
/** /**
* token * token
@ -92,7 +92,7 @@ public class BqbhTszyQuartz {
ASafeBqbhpx aSafeBqbhpx = BeanUtil.copyProperties(x, ASafeBqbhpx.class); ASafeBqbhpx aSafeBqbhpx = BeanUtil.copyProperties(x, ASafeBqbhpx.class);
XcTpResponse xcTpResponse = new XcTpResponse(); XcTpResponse xcTpResponse = new XcTpResponse();
if (StrUtil.isNotEmpty(aSafeBqbhpx.getPxxctp())) { 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.setFJHZ(aSafeBqbhpx.getPxxctp().substring(aSafeBqbhpx.getPxxctp().lastIndexOf(".") + 1));
xcTpResponse.setFJLX(""); xcTpResponse.setFJLX("");
xcTpResponse.setFJMC(aSafeBqbhpx.getPxxctp().substring(aSafeBqbhpx.getPxxctp().lastIndexOf("/") + 1)); xcTpResponse.setFJMC(aSafeBqbhpx.getPxxctp().substring(aSafeBqbhpx.getPxxctp().lastIndexOf("/") + 1));

@ -73,6 +73,9 @@ zctpUrl: http://localhost:9028/mudu/quatz/zctp
#图片路径 #图片路径
api: http://mdapi.junln.net/api/ api: http://mdapi.junln.net/api/
#班前班后图片
bqbhTpUrl: https://www.jichuanglanhai.com:88
#获取工单信息 #获取工单信息
#imUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/get #imUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/get
imUrl: http://localhost:9028/mudu/quatz/get imUrl: http://localhost:9028/mudu/quatz/get

@ -39,6 +39,9 @@ zctpUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/zctp
#图片路径 #图片路径
api: https://www.jichuanglanhai.com:88/api/ api: https://www.jichuanglanhai.com:88/api/
#班前班后图片
bqbhTpUrl: https://www.jichuanglanhai.com:88
#获取工单信息 #获取工单信息
imUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/get imUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/get

@ -39,6 +39,9 @@ zctpUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/zctp
#图片路径 #图片路径
api: http://mdapi.junln.net/api/ api: http://mdapi.junln.net/api/
#班前班后图片
bqbhTpUrl: https://www.jichuanglanhai.com:88
#获取工单信息 #获取工单信息
imUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/get imUrl: https://www.jichuanglanhai.com:88/csapi/mudu/quatz/get

Loading…
Cancel
Save