|
@@ -589,7 +589,11 @@ public class UploadProvider extends GenericUploadProvider implements IUploadServ
|
|
|
|
|
|
|
|
public byte[] convertWordToPdf(FileInfo fileInfo) throws Exception {
|
|
public byte[] convertWordToPdf(FileInfo fileInfo) throws Exception {
|
|
|
String path = baseUrl + StringPool.SLASH + fileInfo.getFilePath();
|
|
String path = baseUrl + StringPool.SLASH + fileInfo.getFilePath();
|
|
|
|
|
+ //String path = "https://www.szjyxt.com" + StringPool.SLASH + fileInfo.getFilePath();
|
|
|
String onlyOfficeUrl = baseUrl + ":9999/ConvertService.ashx";
|
|
String onlyOfficeUrl = baseUrl + ":9999/ConvertService.ashx";
|
|
|
|
|
+ if(onlyOfficeUrl.contains("https:")){
|
|
|
|
|
+ onlyOfficeUrl.replace("https:","http:");
|
|
|
|
|
+ }
|
|
|
logger.warn("onlyOfficeUrl=={}", onlyOfficeUrl);
|
|
logger.warn("onlyOfficeUrl=={}", onlyOfficeUrl);
|
|
|
Map<String,Object> paramMap = new HashMap<>();
|
|
Map<String,Object> paramMap = new HashMap<>();
|
|
|
paramMap.put("async", false);
|
|
paramMap.put("async", false);
|