越权bug修改
This commit is contained in:
parent
c8d3f54f40
commit
262b553b79
|
|
@ -32,7 +32,6 @@ public class SysMenuServiceImpl implements SysMenuService {
|
||||||
List<SysMenuVo> list=new ArrayList<>();
|
List<SysMenuVo> list=new ArrayList<>();
|
||||||
try{
|
try{
|
||||||
list= dao.getUserMenuList(type,roleId);
|
list= dao.getUserMenuList(type,roleId);
|
||||||
list=dao.getMenuName(url);
|
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.error(e.toString(),e);
|
log.error(e.toString(),e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,10 +35,10 @@ function error(xhr) {
|
||||||
icon: 5,
|
icon: 5,
|
||||||
move: false,
|
move: false,
|
||||||
cancel: function (index, layero) {
|
cancel: function (index, layero) {
|
||||||
location.href = '/zhly/login.html';
|
location.href = '/szgqj/login.html';
|
||||||
}
|
}
|
||||||
}, function () {
|
}, function () {
|
||||||
location.href = '/zhly/login.html';
|
location.href = '/szgqj/login.html';
|
||||||
})
|
})
|
||||||
} else if (code == 403) {
|
} else if (code == 403) {
|
||||||
console.log("未授权:" + message);
|
console.log("未授权:" + message);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue