onlyoffice

This commit is contained in:
18792927508
2024-03-13 14:52:04 +08:00
parent 6ce906e04c
commit 92c619f123
6 changed files with 126 additions and 31 deletions
@@ -412,4 +412,17 @@ public class MsCaseApplicationController extends BaseController {
List<SmsSendRecord> list = caseApplicationService.getSmsSendRecord(smsSendRecord);
return getDataTable(list);
}
/**
* 保存onlyOffice在线编辑的文件
* @param
* @return
*/
@GetMapping("/saveOnlyOfficeFile")
public AjaxResult saveOnlyOfficeFile( @RequestBody MsCaseAttach caseAttach) {
if(caseAttach.getCaseAppliId()==null||StrUtil.isEmpty(caseAttach.getOnlyOfficeFileId())||StrUtil.isEmpty(caseAttach.getAnnexPath())){
return error("参数校验失败");
}
return caseApplicationService.saveOnlyOfficeFile(caseAttach);
}
}
@@ -18,7 +18,7 @@ ruoyi:
# 开发环境配置
server:
# 测试环境6001,开发环境7001
port: 7001
port: 6001
servlet:
# 应用的访问路径
context-path: /
@@ -194,6 +194,10 @@ arbitrateConfig:
# 回调通知
signSealCallbackConfig:
url: http://121.40.189.20:6001/mssignSeal/signSeaalCaseApplicaCallback
# onlyOffice系统url配置
onlyOfficeConfig:
# url: http://172.16.0.254:9090/files/upload
url: http://121.40.189.20:9090/files/upload
#jodconverter:
# local:
# host: 121.40.189.20