feat(reminder): 添加提醒服务实现类和Feign客户端降级处理
All checks were successful
test/timeline-server/pipeline/head This commit looks good

添加ReminderServiceImpl实现类,包含提醒的CRUD和发送功能
为StoryServiceClient添加fallbackFactory以支持服务降级
This commit is contained in:
2026-02-26 10:37:46 +08:00
parent f727ed5f9b
commit fb0e854cee
2 changed files with 96 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.RequestParam;
* Story Service Feign Client
* 用于调用 timeline-story-service 的接口
*/
@FeignClient(name = "timeline-story-service", path = "/story")
@FeignClient(name = "timeline-story-service", path = "/story", fallbackFactory = StoryServiceClientFallbackFactory.class)
public interface StoryServiceClient {
/**