| | |
| | | <version>${hutool.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 --> |
| | | <dependency> |
| | | <groupId>org.springframework.cloud</groupId> |
| | | <artifactId>spring-cloud-starter-openfeign</artifactId> |
| | |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | |
| | | <!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 --> |
| | | <dependency> |
| | | <groupId>io.github.openfeign</groupId> |
| | | <artifactId>feign-okhttp</artifactId> |
| | |
| | | <artifactId>lombok</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 --> |
| | | <dependency> |
| | | <groupId>org.springframework.cloud</groupId> |
| | | <artifactId>spring-cloud-starter-openfeign</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 --> |
| | | <dependency> |
| | | <groupId>io.github.openfeign</groupId> |
| | | <artifactId>feign-okhttp</artifactId> |
| | |
| | | * feign测试controller |
| | | * |
| | | * @author Lion Li |
| | | * @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 |
| | | */ |
| | | @Api(value = "feign测试", tags = {"feign测试"}) |
| | | @RequiredArgsConstructor(onConstructor_ = @Autowired) |
| | |
| | | * 增加 feign 的目的为使 http 请求接口化 |
| | | * |
| | | * @author Lion Li |
| | | * @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 |
| | | */ |
| | | @FeignClient( |
| | | name = FeignTestConstant.BAIDU_NAME, |
| | |
| | | package com.ruoyi.demo.feign.constant; |
| | | |
| | | /** |
| | | * @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 |
| | | */ |
| | | @Deprecated |
| | | public class FeignTestConstant { |
| | | |
| | | public static final String BAIDU_NAME = "baidu"; |
| | |
| | | * |
| | | * @see {com.ruoyi.framework.config.FeignConfig#errorDecoder()} |
| | | * @author Lion Li |
| | | * @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | |
| | | * openfeign配置类 |
| | | * |
| | | * @author Lion Li |
| | | * @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 |
| | | */ |
| | | @Deprecated |
| | | @EnableFeignClients("${feign.package}") |
| | | @Configuration |
| | | @ConditionalOnClass(Feign.class) |