菜单权限 统一为 接口
This commit is contained in:
@@ -140,8 +140,8 @@ public class LoadingRole implements CommandLineRunner {
|
||||
}
|
||||
|
||||
if (!title.equals(permissionName) || !fullPath.equals(url) || !httpMethod.equals(method1) || !parentId.equals(pid) || !"3".equals(type)) {
|
||||
sql = "update sys_menu set title=?, url=?, method=?, pid=? where menu_id=?";
|
||||
Db.updateBySql(sql, permissionName, fullPath, httpMethod, parentId, menuId);
|
||||
sql = "update sys_menu set title=?,type=? url=?, method=?, pid=? where menu_id=?";
|
||||
Db.updateBySql(sql, permissionName, 3, fullPath, httpMethod, parentId, menuId);
|
||||
log.info("接口菜单修改成功, 旧名称: {}, 新菜单名称: {}", title, permissionName);
|
||||
}
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user