From 65e0803157f5fa668079b6fca5205aa56e4cc4f7 Mon Sep 17 00:00:00 2001 From: "jiakun.lin" Date: Tue, 23 Mar 2021 15:08:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E8=83=BD=E7=9C=8B?= =?UTF-8?q?=E5=88=B0=E6=89=80=E6=9C=89=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yipin/liuwanr/service/ProjectManagementService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java b/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java index 0a2c98e..446e775 100644 --- a/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java +++ b/src/main/java/com/yipin/liuwanr/service/ProjectManagementService.java @@ -123,8 +123,8 @@ public class ProjectManagementService { resp.put("retvalue", "抱歉,您的权限不能访问该地址!"); return resp; } - //角色等于超级管理员 - else if ("1".equals(roleId)) { + //角色等于超级管理员或管理员 + else if ("1".equals(roleId) || "13".equals(roleId) || "13,14".equals(roleId)) { vo.setUserId(null); } }