|
@@ -672,7 +672,7 @@ public class EVDataServiceImpl implements EVDataService {
|
|
SealPdfVO pdfVO = new SealPdfVO();
|
|
SealPdfVO pdfVO = new SealPdfVO();
|
|
pdfVO.setStrategyVoList(list);
|
|
pdfVO.setStrategyVoList(list);
|
|
byte[] fileByte;
|
|
byte[] fileByte;
|
|
- if (pdfUrl.indexOf("aliyuncs.com") >= 0 || pdfUrl.indexOf("183.247.216.148") >= 0 || pdfUrl.indexOf("152.168.2.15") >= 0) {
|
|
|
|
|
|
+ if (pdfUrl.indexOf("xinan1.zos.ctyun.cn/") >= 0 || pdfUrl.indexOf("aliyuncs.com") >= 0 || pdfUrl.indexOf("183.247.216.148") >= 0 || pdfUrl.indexOf("152.168.2.15") >= 0) {
|
|
try {
|
|
try {
|
|
InputStream inputStreamByUrl = CommonUtil.getOSSInputStreamTow(pdfUrl);
|
|
InputStream inputStreamByUrl = CommonUtil.getOSSInputStreamTow(pdfUrl);
|
|
fileByte = IOUtils.toByteArray(inputStreamByUrl);
|
|
fileByte = IOUtils.toByteArray(inputStreamByUrl);
|