| | |
| | | comment on column sys_menu.is_frame is '是否为外链(0是 1否)'; |
| | | comment on column sys_menu.is_cache is '是否缓存(0缓存 1不缓存)'; |
| | | comment on column sys_menu.menu_type is '菜单类型(M目录 C菜单 F按钮)'; |
| | | comment on column sys_menu.visible is '菜单状态(0显示 1隐藏)'; |
| | | comment on column sys_menu.visible is '显示状态(0显示 1隐藏)'; |
| | | comment on column sys_menu.status is '菜单状态(0正常 1停用)'; |
| | | comment on column sys_menu.perms is '权限标识'; |
| | | comment on column sys_menu.icon is '菜单图标'; |
| | |
| | | insert into sys_menu values('1043', '登录查询', '501', '1', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:query', '#', 'admin', sysdate, '', null, ''); |
| | | insert into sys_menu values('1044', '登录删除', '501', '2', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:remove', '#', 'admin', sysdate, '', null, ''); |
| | | insert into sys_menu values('1045', '日志导出', '501', '3', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:export', '#', 'admin', sysdate, '', null, ''); |
| | | insert into sys_menu values('1050', '账户解锁', '501', '4', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:unlock', '#', 'admin', sysdate, '', null, ''); |
| | | -- 在线用户按钮 |
| | | insert into sys_menu values('1046', '在线查询', '109', '1', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', '#', 'admin', sysdate, '', null, ''); |
| | | insert into sys_menu values('1047', '批量强退', '109', '2', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', '#', 'admin', sysdate, '', null, ''); |
| | |
| | | insert into sys_role_menu values ('2', '1043'); |
| | | insert into sys_role_menu values ('2', '1044'); |
| | | insert into sys_role_menu values ('2', '1045'); |
| | | insert into sys_role_menu values ('2', '1050'); |
| | | insert into sys_role_menu values ('2', '1046'); |
| | | insert into sys_role_menu values ('2', '1047'); |
| | | insert into sys_role_menu values ('2', '1048'); |
| | |
| | | insert into sys_dict_data values(15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', sysdate, '', null, '公告'); |
| | | insert into sys_dict_data values(16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', sysdate, '', null, '正常状态'); |
| | | insert into sys_dict_data values(17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', sysdate, '', null, '关闭状态'); |
| | | insert into sys_dict_data values(29, 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', sysdate, '', null, '其他操作'); |
| | | insert into sys_dict_data values(18, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', sysdate, '', null, '新增操作'); |
| | | insert into sys_dict_data values(19, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', sysdate, '', null, '修改操作'); |
| | | insert into sys_dict_data values(20, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', sysdate, '', null, '删除操作'); |
| | |
| | | comment on column sys_config.update_time is '更新时间'; |
| | | comment on column sys_config.remark is '备注'; |
| | | |
| | | insert into sys_config values(1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', sysdate, '', null, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow' ); |
| | | insert into sys_config values(1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', sysdate, '', null, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow' ); |
| | | insert into sys_config values(2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', sysdate, '', null, '初始化密码 123456' ); |
| | | insert into sys_config values(3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', sysdate, '', null, '深色主题theme-dark,浅色主题theme-light' ); |
| | | insert into sys_config values(4, '账号自助-验证码开关', 'sys.account.captchaOnOff', 'true', 'Y', 'admin', sysdate, '', null, '是否开启验证码功能(true开启,false关闭)'); |
| | | insert into sys_config values(5, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', sysdate, '', null, '是否开启注册用户功能(true开启,false关闭)'); |
| | | insert into sys_config values(11, 'OSS预览列表资源开关', 'sys.oss.previewListResource', 'true', 'Y', 'admin', sysdate, '', null, 'true:开启, false:关闭'); |
| | | insert into sys_config values(4, '账号自助-验证码开关', 'sys.account.captchaEnabled', 'true', 'Y', 'admin', sysdate, '', null, '是否开启验证码功能(true开启,false关闭)'); |
| | | insert into sys_config values(5, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', sysdate, '', null, '是否开启注册用户功能(true开启,false关闭)'); |
| | | insert into sys_config values(11, 'OSS预览列表资源开关', 'sys.oss.previewListResource', 'true', 'Y', 'admin', sysdate, '', null, 'true:开启, false:关闭'); |
| | | |
| | | |
| | | -- ---------------------------- |
| | |
| | | original_name varchar(255) not null, |
| | | file_suffix varchar(10) not null, |
| | | url varchar(500) not null, |
| | | service varchar(10) default 'minio' not null, |
| | | service varchar(20) default 'minio' not null, |
| | | create_by varchar(64) default '', |
| | | create_time date, |
| | | update_by varchar(64) default '', |
| | |
| | | -- ---------------------------- |
| | | create table sys_oss_config ( |
| | | oss_config_id number(20) not null, |
| | | config_key varchar(255) not null, |
| | | config_key varchar(20) not null, |
| | | access_key varchar(255) default '', |
| | | secret_key varchar(255) default '', |
| | | bucket_name varchar(255) default '', |