update feign 标记过期

This commit is contained in:
疯狂的狮子li 2021-10-15 15:55:44 +08:00
parent a6fb88d74c
commit 37a8addf52
7 changed files with 13 additions and 1 deletions

View File

@ -159,6 +159,7 @@
<version>${hutool.version}</version> <version>${hutool.version}</version>
</dependency> </dependency>
<!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 -->
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId> <artifactId>spring-cloud-starter-openfeign</artifactId>
@ -170,7 +171,7 @@
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 -->
<dependency> <dependency>
<groupId>io.github.openfeign</groupId> <groupId>io.github.openfeign</groupId>
<artifactId>feign-okhttp</artifactId> <artifactId>feign-okhttp</artifactId>

View File

@ -111,11 +111,13 @@
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
</dependency> </dependency>
<!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 -->
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId> <artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency> </dependency>
<!-- @deprecated 由于使用人数较少 决定与 3.4.0 版本移除 -->
<dependency> <dependency>
<groupId>io.github.openfeign</groupId> <groupId>io.github.openfeign</groupId>
<artifactId>feign-okhttp</artifactId> <artifactId>feign-okhttp</artifactId>

View File

@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RestController;
* feign测试controller * feign测试controller
* *
* @author Lion Li * @author Lion Li
* @deprecated 由于使用人数较少 决定与 3.4.0 版本移除
*/ */
@Api(value = "feign测试", tags = {"feign测试"}) @Api(value = "feign测试", tags = {"feign测试"})
@RequiredArgsConstructor(onConstructor_ = @Autowired) @RequiredArgsConstructor(onConstructor_ = @Autowired)

View File

@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.RequestParam;
* 增加 feign 的目的为使 http 请求接口化 * 增加 feign 的目的为使 http 请求接口化
* *
* @author Lion Li * @author Lion Li
* @deprecated 由于使用人数较少 决定与 3.4.0 版本移除
*/ */
@FeignClient( @FeignClient(
name = FeignTestConstant.BAIDU_NAME, name = FeignTestConstant.BAIDU_NAME,

View File

@ -1,5 +1,9 @@
package com.ruoyi.demo.feign.constant; package com.ruoyi.demo.feign.constant;
/**
* @deprecated 由于使用人数较少 决定与 3.4.0 版本移除
*/
@Deprecated
public class FeignTestConstant { public class FeignTestConstant {
public static final String BAIDU_NAME = "baidu"; public static final String BAIDU_NAME = "baidu";

View File

@ -14,6 +14,7 @@ import org.springframework.stereotype.Component;
* *
* @see {com.ruoyi.framework.config.FeignConfig#errorDecoder()} * @see {com.ruoyi.framework.config.FeignConfig#errorDecoder()}
* @author Lion Li * @author Lion Li
* @deprecated 由于使用人数较少 决定与 3.4.0 版本移除
*/ */
@Slf4j @Slf4j
@Component @Component

View File

@ -17,7 +17,9 @@ import java.util.concurrent.TimeUnit;
* openfeign配置类 * openfeign配置类
* *
* @author Lion Li * @author Lion Li
* @deprecated 由于使用人数较少 决定与 3.4.0 版本移除
*/ */
@Deprecated
@EnableFeignClients("${feign.package}") @EnableFeignClients("${feign.package}")
@Configuration @Configuration
@ConditionalOnClass(Feign.class) @ConditionalOnClass(Feign.class)