update 完成消息盒子功能前后端联动(已读未读在前端浏览器存储)

This commit is contained in:
疯狂的狮子Li
2026-03-27 14:34:37 +08:00
parent 66c23b1dc4
commit 60b6862c9e
25 changed files with 837 additions and 51 deletions

View File

@@ -689,7 +689,31 @@ insert into sys_notice values('2', '维护通知2018-07-01 系统凌晨维护
-- ----------------------------
-- 18、代码生成业务
-- 18、消息记录
-- ----------------------------
create table sys_message (
message_id bigint(20) not null comment '消息ID',
category varchar(20) not null comment '消息分组(system/notice/workflow)',
type varchar(20) not null comment '消息类型',
source varchar(20) not null comment '消息来源',
title varchar(100) default '' comment '标题',
message varchar(500) default '' comment '摘要消息',
content longtext comment '详细内容',
data_json longtext comment '扩展数据JSON',
path varchar(500) default null comment '前端跳转路径',
send_user_ids varchar(2000) not null default '0' 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 = '消息记录表';
-- ----------------------------
-- 19、代码生成业务表
-- ----------------------------
create table gen_table (
table_id bigint(20) not null comment '编号',