From 262b553b79f4982f4692b9bc87629c1871e87911 Mon Sep 17 00:00:00 2001 From: haozq <1611483981@qq.com> Date: Thu, 25 Jul 2024 10:44:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=8A=E6=9D=83bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bonus/aqgqj/system/service/impl/SysMenuServiceImpl.java | 1 - src/main/resources/static/js/publicJs.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/bonus/aqgqj/system/service/impl/SysMenuServiceImpl.java b/src/main/java/com/bonus/aqgqj/system/service/impl/SysMenuServiceImpl.java index 88edd61..9207acb 100644 --- a/src/main/java/com/bonus/aqgqj/system/service/impl/SysMenuServiceImpl.java +++ b/src/main/java/com/bonus/aqgqj/system/service/impl/SysMenuServiceImpl.java @@ -32,7 +32,6 @@ public class SysMenuServiceImpl implements SysMenuService { List list=new ArrayList<>(); try{ list= dao.getUserMenuList(type,roleId); - list=dao.getMenuName(url); }catch (Exception e){ log.error(e.toString(),e); } diff --git a/src/main/resources/static/js/publicJs.js b/src/main/resources/static/js/publicJs.js index d33b005..9022693 100644 --- a/src/main/resources/static/js/publicJs.js +++ b/src/main/resources/static/js/publicJs.js @@ -35,10 +35,10 @@ function error(xhr) { icon: 5, move: false, cancel: function (index, layero) { - location.href = '/zhly/login.html'; + location.href = '/szgqj/login.html'; } }, function () { - location.href = '/zhly/login.html'; + location.href = '/szgqj/login.html'; }) } else if (code == 403) { console.log("未授权:" + message);