update 重构 common-sse 与 common-websocket 合并为 ruoyi-common-push 推送模块

update 优化 通知公告页面增加查看详情功能 支持预览已经编辑好的富文本内容
update 优化 消息盒子相关消息可直接跳转到详情页展示富文本内容
update 完成消息盒子功能前后端联动(已读未读在前端浏览器存储)
update 工作流消息推送增加前端路由跳转
This commit is contained in:
疯狂的狮子Li
2026-03-27 19:42:28 +08:00
parent fb5b5aed29
commit 58afbf3ebf
62 changed files with 1672 additions and 921 deletions

View File

@@ -763,9 +763,32 @@ create table sys_notice (
insert into sys_notice values('1', '温馨提醒2018-07-01 新版本发布啦', '2', '新版本内容', '0', 103, 1, sysdate(), null, null, '管理员');
insert into sys_notice values('2', '维护通知2018-07-01 系统凌晨维护', '1', '维护内容', '0', 103, 1, sysdate(), null, null, '管理员');
-- ----------------------------
-- 18、消息记录表
-- ----------------------------
create table sys_message (
message_id bigint(20) not null comment '消息ID',
category varchar(32) not null comment '消息分组(system/notice/workflow)',
type varchar(32) not null comment '消息类型',
source varchar(32) not null comment '消息来源',
title varchar(100) not null comment '标题',
message varchar(500) default null comment '摘要消息',
content varchar(2000) default null comment '详细内容',
data_json text comment '扩展数据JSON',
path varchar(255) default null comment '前端跳转路径',
send_user_ids varchar(1000) not null comment '目标用户ID串0表示全局',
create_dept bigint(20) default null comment '创建部门',
create_by bigint(20) default null comment '创建者',
create_time datetime comment '创建时间',
update_by bigint(20) default null comment '更新者',
update_time datetime comment '更新时间',
primary key (message_id),
key idx_sys_message_category_time (category, create_time)
) engine=innodb comment = '消息记录表';
-- ----------------------------
-- 18、代码生成业务表
-- 19、代码生成业务表
-- ----------------------------
create table gen_table (
table_id bigint(20) not null comment '编号',