feat: 在线编辑将文件接收接口改为GET请求方式并添加参数注解

This commit is contained in:
2024-10-12 14:56:36 +08:00
parent dbc80ed443
commit 0dac72f35c
@@ -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 + "=======");