From 2ca7bdfc3c2e850dfdf3846f3eb2780bdecdc10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E5=BA=8F=E6=8C=AF?= Date: Thu, 11 Jul 2024 14:14:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/god/system/service/impl/SysUserServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/God-Vue-master/god-system/src/main/java/com/god/system/service/impl/SysUserServiceImpl.java b/God-Vue-master/god-system/src/main/java/com/god/system/service/impl/SysUserServiceImpl.java index c4c97962..3e6c89e2 100644 --- a/God-Vue-master/god-system/src/main/java/com/god/system/service/impl/SysUserServiceImpl.java +++ b/God-Vue-master/god-system/src/main/java/com/god/system/service/impl/SysUserServiceImpl.java @@ -236,7 +236,7 @@ public class SysUserServiceImpl implements ISysUserService { public void checkUserDataScope(SysUser user) { if (!SysUser.isAdmin(SecurityUtils.getUserId())) { // SysUser user = new SysUser(); -// user.setUserId(userId); +// user.setUserId(SecurityUtils.getUserId()); List users = SpringUtils.getAopProxy(this).selectUserList(user); if (StringUtils.isEmpty(users)) { throw new ServiceException("没有权限访问用户数据!");