越权bug修改
This commit is contained in:
parent
c8d3f54f40
commit
262b553b79
|
|
@ -32,7 +32,6 @@ public class SysMenuServiceImpl implements SysMenuService {
|
|||
List<SysMenuVo> list=new ArrayList<>();
|
||||
try{
|
||||
list= dao.getUserMenuList(type,roleId);
|
||||
list=dao.getMenuName(url);
|
||||
}catch (Exception e){
|
||||
log.error(e.toString(),e);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue