feat(通知服务): 实现通知服务基础功能并添加负载均衡依赖
All checks were successful
test/timeline-server/pipeline/head This commit looks good

- 添加Spring Cloud LoadBalancer依赖以支持服务间调用
- 实现NotificationService接口基础功能,包括通知创建、查询、标记已读等
- 使用内存存储实现通知管理,支持分页查询和按类型统计未读数
This commit is contained in:
2026-02-26 10:54:59 +08:00
parent fb0e854cee
commit 5bc4a227a8
2 changed files with 273 additions and 0 deletions

View File

@@ -50,6 +50,12 @@
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<!-- Spring Cloud LoadBalancer -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency>
<!-- Spring Cloud Alibaba Nacos -->
<dependency>
<groupId>com.alibaba.cloud</groupId>