Commit Graph

42 Commits

Author SHA1 Message Date
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
万佳 77f478a176 Merge branch 'master' into dev_gitlink_model 2021-09-06 15:30:34 +08:00
巴拉迪维 542cc9160a 处理maven编译报错问题
1、删掉了model 模块里的 Demo 类
2、修改了根目录的 pom 文件加入了 <properties> 结点以处理 maven 打包时可能出现的编译错误
2021-09-06 15:15:47 +08:00
万佳 1b90678941 添加mybatisplus和junit依赖及配置 2021-09-03 17:01:12 +08:00
巴拉迪维 2c24d5833f 调整项目的基础配置文件
1、调整项目的 pom 文件
2、调整项目的 package 报名为 cn.org.gitlink.notification
3、调整 .gitignore 文件加入 idea 相关的一些忽略配置
2021-09-02 13:57:01 +08:00
曾伟 a0d31af17d 修改子模块artifactId 2021-09-02 11:56:00 +08:00
zengwei 978a998be4 init 2021-09-02 11:32:37 +08:00