feat: 在线编辑将文件接收接口改为GET请求方式并添加参数注解
This commit is contained in:
+4
-2
@@ -48,8 +48,10 @@ public class OnlyOfficeController {
|
|||||||
private IOSSFileService ossFileService;
|
private IOSSFileService ossFileService;
|
||||||
|
|
||||||
@ApiOperation(value = "onlyOffice接收文件")
|
@ApiOperation(value = "onlyOffice接收文件")
|
||||||
@PostMapping("/receiveFile")
|
@GetMapping("/receiveFile")
|
||||||
public void receiveFileBefore(HttpServletRequest request, HttpServletResponse response, String fileId, String fileNm) throws IOException {
|
public void receiveFileBefore(HttpServletRequest request, HttpServletResponse response,
|
||||||
|
@RequestParam("fileId") String fileId,
|
||||||
|
@RequestParam("fileNm") String fileNm) {
|
||||||
log.info("**********进入receiveFile接收文档接口************");
|
log.info("**********进入receiveFile接收文档接口************");
|
||||||
log.info("**********fileId************" + fileId + "=======");
|
log.info("**********fileId************" + fileId + "=======");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user