fix: 转换pdf接口增加网路协议
This commit is contained in:
@@ -98,7 +98,7 @@ public class OnlyOfficePdfUtil {
|
||||
String data = requestJson.toString();
|
||||
|
||||
try (CloseableHttpClient httpClient = createHttpClient()) {
|
||||
String url = onlyOfficeUrl + transferPDfUrl;
|
||||
String url = "http://" + onlyOfficeUrl + transferPDfUrl;
|
||||
log.info("访问onlyOfficeUrl:{}", url);
|
||||
HttpPost httpPost = new HttpPost(url);
|
||||
httpPost.setEntity(new StringEntity(data, "UTF-8"));
|
||||
|
||||
Reference in New Issue
Block a user