feat(reminder): 添加提醒服务实现类和Feign客户端降级处理
All checks were successful
test/timeline-server/pipeline/head This commit looks good
All checks were successful
test/timeline-server/pipeline/head This commit looks good
添加ReminderServiceImpl实现类,包含提醒的CRUD和发送功能 为StoryServiceClient添加fallbackFactory以支持服务降级
This commit is contained in:
@@ -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 {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user