update 更新feign关于熔断注释

This commit is contained in:
疯狂的狮子li 2021-09-03 11:43:34 +08:00
parent f566c39026
commit 237b598264
2 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,9 @@ import org.springframework.web.bind.annotation.RequestParam;
* feign测试service
* 规范接口 Service 无感调用
* 常量管理请求路径 更加规范
* 自定义容错处理 安全可靠
* 自定义容错处理 安全可靠 (需自行配置熔断器)
* 增加 feign 的目的为使 http 请求接口化
*
* @author Lion Li
*/
@FeignClient(

View File

@ -10,6 +10,8 @@ import org.springframework.stereotype.Component;
* 自定义封装结构体熔断
* 需重写解码器 根据自定义实体 自行解析熔断
*
* 熔断器需要自行添加配置
*
* @see {com.ruoyi.framework.config.FeignConfig#errorDecoder()}
* @author Lion Li
*/