From 0dac72f35cb0f24fd7b35d96d08cf96ce8e9c09c Mon Sep 17 00:00:00 2001 From: caihaohan Date: Sat, 12 Oct 2024 14:56:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=A8=E7=BA=BF=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=B0=86=E6=96=87=E4=BB=B6=E6=8E=A5=E6=94=B6=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=94=B9=E4=B8=BAGET=E8=AF=B7=E6=B1=82=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E5=B9=B6=E6=B7=BB=E5=8A=A0=E5=8F=82=E6=95=B0=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/onlyoffice/controller/OnlyOfficeController.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/onlyoffice/controller/OnlyOfficeController.java b/laws-modules/src/main/java/com/jero/modules/onlyoffice/controller/OnlyOfficeController.java index f2a2b26d..0bf14de9 100644 --- a/laws-modules/src/main/java/com/jero/modules/onlyoffice/controller/OnlyOfficeController.java +++ b/laws-modules/src/main/java/com/jero/modules/onlyoffice/controller/OnlyOfficeController.java @@ -48,8 +48,10 @@ public class OnlyOfficeController { private IOSSFileService ossFileService; @ApiOperation(value = "onlyOffice接收文件") - @PostMapping("/receiveFile") - public void receiveFileBefore(HttpServletRequest request, HttpServletResponse response, String fileId, String fileNm) throws IOException { + @GetMapping("/receiveFile") + public void receiveFileBefore(HttpServletRequest request, HttpServletResponse response, + @RequestParam("fileId") String fileId, + @RequestParam("fileNm") String fileNm) { log.info("**********进入receiveFile接收文档接口************"); log.info("**********fileId************" + fileId + "=======");