|
@@ -377,9 +377,7 @@ public class RateService {
|
|
|
|
|
|
|
|
public List<InputStream> upLoad1(Rate rate) throws UnsupportedEncodingException {
|
|
public List<InputStream> upLoad1(Rate rate) throws UnsupportedEncodingException {
|
|
|
List<InputStream> files = new ArrayList<>();
|
|
List<InputStream> files = new ArrayList<>();
|
|
|
-// String uri = "http://10.188.236.2/word2pdf";
|
|
|
|
|
-
|
|
|
|
|
- String uri = "http://convert.izouma.com/word2pdf";
|
|
|
|
|
|
|
+ String uri = "http://10.188.236.2/word2pdf";
|
|
|
|
|
|
|
|
// 表格
|
|
// 表格
|
|
|
String export = this.export(rate);
|
|
String export = this.export(rate);
|
|
@@ -421,7 +419,7 @@ public class RateService {
|
|
|
throw new BusinessException("找不到文件");
|
|
throw new BusinessException("找不到文件");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- InputStream stream = HttpRequest.post("http://convert.izouma.com/word2pdf")
|
|
|
|
|
|
|
+ InputStream stream = HttpRequest.post("http://10.188.236.2/word2pdf")
|
|
|
.accept("*/*")
|
|
.accept("*/*")
|
|
|
.part("file", "审核材料.docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", is1)
|
|
.part("file", "审核材料.docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", is1)
|
|
|
.stream();
|
|
.stream();
|