权限注入修改

This commit is contained in:
张松
2025-09-29 16:25:29 +08:00
parent 3a802bc7ff
commit 2129ae5f8b

View File

@@ -99,7 +99,7 @@ public class LoadingRole implements CommandLineRunner {
if (count1.isEmpty()) {
sql = "INSERT INTO `sys_roles_menus` (`menu_id`, `role_id`) VALUES (?, ?);";
Db.insertBySql(sql, menu1, 1L);
Db.insertBySql(sql, menuId, 1L);
log.info("接口菜单添加成功, 菜单名称: {}, 菜单权限: {}", title, permission);
}