mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-03-30 01:03:23 +08:00
update 完成消息盒子功能前后端联动(已读未读在前端浏览器存储)
This commit is contained in:
@@ -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 '编号',
|
||||
|
||||
Reference in New Issue
Block a user