admin/backend/src/main/resources/sql/add_user_route.sql

12 lines
536 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 添加用户管理路由
USE soybean_admin;
-- 先删除可能存在的旧记录
DELETE FROM sys_route WHERE route_id = 'user_manage';
-- 插入用户管理路由order_num 设置为 1.5,这样会排在 home(order=1) 后面
INSERT INTO sys_route (route_id, name, path, component, meta, roles, order_num, status) VALUES
('user_manage', 'user-manage', '/user-manage', 'layout.base$view.user-manage',
'{"title":"用户管理","i18nKey":"route.user-manage","icon":"mdi:account-group","order":1.5}',
'R_SUPER,R_ADMIN', 1.5, 1);