在线修改

This commit is contained in:
18792927508
2024-03-15 17:46:50 +08:00
parent 21e86a4c47
commit 8a7cf059fd
@@ -3798,10 +3798,9 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
if (file.exists()) { if (file.exists()) {
// 调用onlyoffice // 调用onlyoffice
try { try {
onlyOfficeUrl= onlyOfficeUrl+ "/"+String.valueOf(caseId);
Map<String, Object> params = new HashMap<>(); Map<String, Object> params = new HashMap<>();
params.put("file", file); params.put("file", file);
String postResult = HttpUtil.post(onlyOfficeUrl, params); String postResult = HttpUtil.post(onlyOfficeUrl+ "/"+String.valueOf(caseId), params);
if(StrUtil.isNotEmpty(postResult)){ if(StrUtil.isNotEmpty(postResult)){
// 转为jsonArray // 转为jsonArray
JSONArray jsonArray = JSONArray.parseArray(postResult); JSONArray jsonArray = JSONArray.parseArray(postResult);