From 86b0362eaf4c320dc6a54fc12ce80b0bf7890a85 Mon Sep 17 00:00:00 2001
From: yaozc <yaozc@yhzhg.cn>
Date: Thu, 30 May 2024 02:06:17 +0000
Subject: [PATCH] 11111
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceMonthController.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceMonthController.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceMonthController.java
index 6f5a4c7..971db15 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceMonthController.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceMonthController.java
@@ -15,6 +15,7 @@
*/
package me.zhengjie.modules.attendance.rest;
+import me.zhengjie.annotation.AnonymousAccess;
import me.zhengjie.annotation.Log;
import me.zhengjie.modules.attendance.domain.AttendanceMonth;
import me.zhengjie.modules.attendance.service.AttendanceMonthService;
@@ -46,7 +47,7 @@
@Log("导出数据")
@ApiOperation("导出数据")
@GetMapping(value = "/download")
- @PreAuthorize("@el.check('attendanceMonth:download')")
+ @AnonymousAccess
public void exportAttendanceMonth(HttpServletResponse response, AttendanceMonthQueryCriteria criteria) throws IOException {
attendanceMonthService.download(attendanceMonthService.queryAll(criteria), response);
}
--
Gitblit v1.9.3