Skip to content

Commit

Permalink
fix: 补充查询文件资源统计权限校验注解
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed May 7, 2024
1 parent 209f0e3 commit 60cbf04
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

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.tags.Tag;
import lombok.RequiredArgsConstructor;
Expand Down Expand Up @@ -45,6 +46,7 @@ public class FileController extends BaseController<FileService, FileResp, FileRe

@Log(ignore = true)
@Operation(summary = "查询文件资源统计", description = "查询文件资源统计")
@SaCheckPermission("system:file:list")
@GetMapping("/statistics")
public R<FileStatisticsResp> statistics() {
return R.ok(baseService.statistics());
Expand Down

0 comments on commit 60cbf04

Please sign in to comment.