|
|
|
|
|
|
3798
|
if (file.exists()) {
|
3798
|
if (file.exists()) {
|
|
3799
|
// 调用onlyoffice
|
3799
|
// 调用onlyoffice
|
|
3800
|
try {
|
3800
|
try {
|
|
3801
|
- onlyOfficeUrl= onlyOfficeUrl+ "/"+String.valueOf(caseId);
|
|
|
|
3802
|
Map<String, Object> params = new HashMap<>();
|
3801
|
Map<String, Object> params = new HashMap<>();
|
|
3803
|
params.put("file", file);
|
3802
|
params.put("file", file);
|
|
3804
|
- String postResult = HttpUtil.post(onlyOfficeUrl, params);
|
|
|
|
|
|
3803
|
+ String postResult = HttpUtil.post(onlyOfficeUrl+ "/"+String.valueOf(caseId), params);
|
|
3805
|
if(StrUtil.isNotEmpty(postResult)){
|
3804
|
if(StrUtil.isNotEmpty(postResult)){
|
|
3806
|
// 转为jsonArray
|
3805
|
// 转为jsonArray
|
|
3807
|
JSONArray jsonArray = JSONArray.parseArray(postResult);
|
3806
|
JSONArray jsonArray = JSONArray.parseArray(postResult);
|