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