✨ 拆分应收账单导出与下载权限
This commit is contained in:
@@ -283,7 +283,7 @@ public class ArBillController extends BaseController {
|
||||
/**
|
||||
* 下载已成功生成的导出文件;文件内容由服务层从临时文件或配置存储读取。
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('ar:bill:export')")
|
||||
@PreAuthorize("@ss.hasPermi('ar:bill:download')")
|
||||
@GetMapping("/export/{exportId}/download")
|
||||
public void download(@PathVariable Long exportId, HttpServletResponse response) throws Exception {
|
||||
billService.downloadExport(exportId, response);
|
||||
|
||||
Reference in New Issue
Block a user