mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-12 16:57:12 +08:00
fix: 补充查询文件资源统计权限校验注解
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
package top.continew.admin.webapi.system;
|
package top.continew.admin.webapi.system;
|
||||||
|
|
||||||
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
@@ -45,6 +46,7 @@ public class FileController extends BaseController<FileService, FileResp, FileRe
|
|||||||
|
|
||||||
@Log(ignore = true)
|
@Log(ignore = true)
|
||||||
@Operation(summary = "查询文件资源统计", description = "查询文件资源统计")
|
@Operation(summary = "查询文件资源统计", description = "查询文件资源统计")
|
||||||
|
@SaCheckPermission("system:file:list")
|
||||||
@GetMapping("/statistics")
|
@GetMapping("/statistics")
|
||||||
public R<FileStatisticsResp> statistics() {
|
public R<FileStatisticsResp> statistics() {
|
||||||
return R.ok(baseService.statistics());
|
return R.ok(baseService.statistics());
|
||||||
|
Reference in New Issue
Block a user