代码提交

This commit is contained in:
jiangzhe 2024-06-19 14:12:25 +08:00
parent 39d2e1e27c
commit 4ba8064b64
4 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ public class SysOssPersonController extends BaseController {
}
@SaCheckPermission("file:person:download")
@GetMapping("/download/{id}")
@PostMapping("/download/{id}")
public void download(@PathVariable Long id, HttpServletResponse response) throws Exception {
sysOssPersonService.download(id, response);
}

View File

@ -136,7 +136,7 @@ public class SysOssResourceController extends BaseController {
return toAjax(sysOssResourceService.moveByBo(bo));
}
@SaCheckPermission("file:resource:download")
@GetMapping("/download/{id}")
@PostMapping("/download/{id}")
public void download(@PathVariable Long id, HttpServletResponse response) throws Exception {
sysOssResourceService.download(id, response);
}

View File

@ -139,7 +139,7 @@ public class SysOssTextbookController extends BaseController {
}
@SaCheckPermission("file:textbook:download")
@GetMapping("/download/{id}")
@PostMapping("/download/{id}")
public void download(@PathVariable Long id, HttpServletResponse response) throws Exception {
sysOssTextbookService.download(id, response);
}

View File

@ -44,7 +44,7 @@ public class SysOssTextbookBo extends BaseEntity {
private Integer type;
/**
* 状态
* 状态 0失败 1成功
*/
private Integer status;