消息推送

This commit is contained in:
liupopo
2023-03-17 18:13:18 +08:00
parent a049d9905c
commit cd96921473
14 changed files with 207 additions and 25 deletions

View File

@@ -29,4 +29,16 @@ CREATE TABLE `push_cids` (
`userPhone` varchar(100) DEFAULT NULL COMMENT '用户手机号',
`userId` bigint(32) DEFAULT NULL COMMENT '用户ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `sys_message_task` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL DEFAULT '1' COMMENT '用户id',
`code` varchar(60) DEFAULT '系统消息' COMMENT '消息编码',
`params` varchar(5000) DEFAULT NULL COMMENT '参数',
`content` text COMMENT '内容',
`sendtime` date NOT NULL COMMENT '发送时间',
`status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '0未发送1已发送',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='定时消息';