From 69aa69202e0346e85df3ebd75dc7c7ccfe7cc3a0 Mon Sep 17 00:00:00 2001
From: 赵士淞 <zhaoss@yhzhg.cn>
Date: Thu, 15 Dec 2022 09:59:05 +0000
Subject: [PATCH] 用户管理
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java
index ed8e51f..f6c559f 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java
@@ -69,7 +69,7 @@
@ApiOperation("导出用户数据")
@GetMapping(value = "/download")
- @PreAuthorize("@el.check('user:list')")
+ @PreAuthorize("@el.check('user:download')")
public void exportUser(HttpServletResponse response, UserQueryCriteria criteria) throws IOException {
userService.download(userService.queryAll(criteria), response);
}
--
Gitblit v1.9.3