Commit Graph

56 Commits

Author SHA1 Message Date
万佳 2fd5441e15 subject长度限定修改 2021-09-17 14:46:29 +08:00
万佳 d4156ed7a6 代码完善 2021-09-17 14:30:01 +08:00
万佳 3df4ef193f 1.Application添加@EnableTransactionManagement注解
2.系统消息批量insert
2021-09-17 13:09:27 +08:00
万佳 f346f9e8b8 email发送bug修复 2021-09-17 11:52:44 +08:00
万佳 75754b5246 email分配发送任务,email发送 2021-09-17 10:52:07 +08:00
万佳 4cc9282c74 Merge branch 'dev_gitlink_model' of https://git.trustie.net/wanjia9506/gitlink-notification-system into dev_gitlink_model
# 请输入一个提交信息以解释此合并的必要性,尤其是将一个更新后的上游分支
# 合并到主题分支。
#
# 以 '#' 开始的行将被忽略,而空的提交说明将终止提交。
2021-09-15 15:38:35 +08:00
万佳 c14c7750eb email_send_records批量更新 2021-09-15 15:04:36 +08:00
万佳 5ed6e03faf Merge branch 'master' of https://git.trustie.net/Gitlink/gitlink-notification-system into dev_gitlink_model 2021-09-15 11:38:04 +08:00
万佳 b3e98577ae 邮件model层完善,添加emailListener及emailService 2021-09-15 11:36:39 +08:00
巴拉迪维 369838cf45 处理json格式化字符串中的时间格式问题 2021-09-15 11:04:00 +08:00
万佳 566c745bfd 邮件model层 2021-09-14 15:27:59 +08:00
万佳 7eda1393db Merge branch 'master' of https://git.trustie.net/Gitlink/gitlink-notification-system into dev_gitlink_model 2021-09-14 12:25:18 +08:00
万佳 0c7b9f09bd swagger注释完善 2021-09-14 11:45:02 +08:00
万佳 4baf055482 更新已读状态/删除消息添加type参数 2021-09-14 11:42:08 +08:00
baladiwei 1335bdbcd8 Merge pull request '正则校验修改' (#66) from wanjia9506/gitlink-notification-system:dev_gitlink_model into master 2021-09-14 11:20:44 +08:00
万佳 820a873344 正则校验修改 2021-09-14 11:18:44 +08:00
巴拉迪维 b5b0eba04e 处理部分冲突 2021-09-14 10:46:46 +08:00
巴拉迪维 3bb603c96a 更新Notification接口
1、调整web接口已支持客户端获取已读、未读的消息数、列表等操作
2、调整上述内容相关的 mybatis 配置
3、调整 Redis 缓存相关的 Key 生成策略及过程
2021-09-14 10:43:00 +08:00
万佳 ebb9b89018 更新状态、删除消息接口notificationIds为'-1'时,处理全部 2021-09-13 22:49:33 +08:00
万佳 41361fcba9 删除系统消息 2021-09-13 17:39:47 +08:00
巴拉迪维 c3b64048bd 支持多 platform 参数的 Redis 缓存
1、修改了 Service 支持多个 platform 参数下可能出现的缓存清理不正确的问题
2、设置缓存Key的生成策略未:GNSCache#{platform}# 开头
2021-09-13 14:28:25 +08:00
万佳 2fc23dcb7c 1.新增hehui测试平台及建表sql
2.解决source字段问题
2021-09-13 10:40:23 +08:00
万佳 1dd8a8993a 发消息时source和extra字段处理 2021-09-10 14:12:05 +08:00
万佳 420367fab5 writer接口中入参ResponseBody去除platform参数 2021-09-10 10:21:02 +08:00
万佳 7e9d88b2c4 writer接口url调整,Vo参数去掉platform 2021-09-09 23:49:54 +08:00
巴拉迪维 f1eb57f5ad 完成对 redis 层的封装 2021-09-09 17:25:56 +08:00
万佳 1ebf69fac2 Vo参数校验,SysNotificationMapper.xml代码完善 2021-09-09 13:56:35 +08:00
巴拉迪维 8d5b23c433 数据库字段新增
1、数据库新增 source、extra 两个字段分别用来标识信息来源和额外附带的信息
2、调整因上述原因导致的必要的Java代码
2021-09-09 13:04:55 +08:00
巴拉迪维 58824cf928 调整 Reader 和 Writer 其中的代码结构 2021-09-09 11:49:52 +08:00
万佳 c92af197ca writer异常处理及log配置修改 2021-09-09 10:43:59 +08:00
巴拉迪维 88c4a5457b 调整日志配置 2021-09-09 10:35:56 +08:00
巴拉迪维 837a2f7aba 调整Reader获取数据的逻辑 2021-09-09 10:20:55 +08:00
巴拉迪维 9103f18678 优化 list 方法支持所有查询 2021-09-08 18:22:09 +08:00
巴拉迪维 6e2d9a0079 完成获取消息通知的 list 方法 2021-09-08 18:05:46 +08:00
巴拉迪维 0eb9c7ae38 gns/notification/list 逻辑打通 2021-09-08 17:36:14 +08:00
巴拉迪维 6ed1387c31 完成获取消息数量的 Controller 方法
1、约定的 url 路径为 gns/notification/count
2、处理了相关的 Controller 和 Vo 类
3、实现了处理的逻辑
2021-09-08 17:14:04 +08:00
万佳 7891be574d 调整单元测试结构 2021-09-08 16:28:35 +08:00
万佳 60a3dbcd32 SysNotificationService中getUnreadNotificationByType方法加type参数 2021-09-08 16:21:45 +08:00
巴拉迪维 4ca02791ee 调整 service 层面的部分代码规范 2021-09-08 16:04:26 +08:00
万佳 2ee561d8e6 注释修改,model项目结构调整 2021-09-08 15:03:37 +08:00
万佳 981c422f9c 注释完善 2021-09-08 14:32:17 +08:00
万佳 0e53da8715 Merge branch 'master' into dev_gitlink_model 2021-09-08 13:44:18 +08:00
巴拉迪维 9bebf6a120 Reader层一些示例代码 2021-09-08 13:39:17 +08:00
万佳 67eee5acf6 SysNotificationVo改名为NewSysNotificationVo 2021-09-08 10:18:47 +08:00
万佳 389c06f396 type,status类型Byte->Integer 2021-09-08 09:10:00 +08:00
万佳 1cebde5537 添加SysNotificationAddVo 2021-09-07 16:03:45 +08:00
万佳 aff62d10f9 给多个用户添加系统/@我消息 2021-09-07 15:58:30 +08:00
万佳 1241ffa9e2 添加type字段,完善service细节,完善单元测试 2021-09-07 15:25:49 +08:00
万佳 a4ed2fcfc0 单元测试完善,service方法名修改 2021-09-07 10:43:17 +08:00
万佳 0c0a637ada SysNotification单元测试及model代码,动态建表OperateTableService单元测试 2021-09-07 00:51:18 +08:00