代码提交
This commit is contained in:
parent
39d2e1e27c
commit
4ba8064b64
|
@ -129,7 +129,7 @@ public class SysOssPersonController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@SaCheckPermission("file:person:download")
|
@SaCheckPermission("file:person:download")
|
||||||
@GetMapping("/download/{id}")
|
@PostMapping("/download/{id}")
|
||||||
public void download(@PathVariable Long id, HttpServletResponse response) throws Exception {
|
public void download(@PathVariable Long id, HttpServletResponse response) throws Exception {
|
||||||
sysOssPersonService.download(id, response);
|
sysOssPersonService.download(id, response);
|
||||||
}
|
}
|
||||||
|
|
|
@ -136,7 +136,7 @@ public class SysOssResourceController extends BaseController {
|
||||||
return toAjax(sysOssResourceService.moveByBo(bo));
|
return toAjax(sysOssResourceService.moveByBo(bo));
|
||||||
}
|
}
|
||||||
@SaCheckPermission("file:resource:download")
|
@SaCheckPermission("file:resource:download")
|
||||||
@GetMapping("/download/{id}")
|
@PostMapping("/download/{id}")
|
||||||
public void download(@PathVariable Long id, HttpServletResponse response) throws Exception {
|
public void download(@PathVariable Long id, HttpServletResponse response) throws Exception {
|
||||||
sysOssResourceService.download(id, response);
|
sysOssResourceService.download(id, response);
|
||||||
}
|
}
|
||||||
|
|
|
@ -139,7 +139,7 @@ public class SysOssTextbookController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@SaCheckPermission("file:textbook:download")
|
@SaCheckPermission("file:textbook:download")
|
||||||
@GetMapping("/download/{id}")
|
@PostMapping("/download/{id}")
|
||||||
public void download(@PathVariable Long id, HttpServletResponse response) throws Exception {
|
public void download(@PathVariable Long id, HttpServletResponse response) throws Exception {
|
||||||
sysOssTextbookService.download(id, response);
|
sysOssTextbookService.download(id, response);
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ public class SysOssTextbookBo extends BaseEntity {
|
||||||
private Integer type;
|
private Integer type;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 状态
|
* 状态 0失败 1成功
|
||||||
*/
|
*/
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue