Explorar el Código

oss pom文件提交

zhuwei hace 5 meses
padre
commit
5523147570

+ 1 - 1
blade-service/blade-e-visa/src/main/java/org/springblade/evisa/service/impl/EVDataServiceImpl.java

@@ -672,7 +672,7 @@ public class EVDataServiceImpl implements EVDataService {
         SealPdfVO pdfVO = new SealPdfVO();
         pdfVO.setStrategyVoList(list);
         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 {
                 InputStream inputStreamByUrl = CommonUtil.getOSSInputStreamTow(pdfUrl);
                 fileByte = IOUtils.toByteArray(inputStreamByUrl);