update feign 标记过期

master
疯狂的狮子li 4 years ago
parent a6fb88d74c
commit 37a8addf52

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

@ -111,11 +111,13 @@
<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>

@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RestController;
* feigncontroller
*
* @author Lion Li
* @deprecated 使 3.4.0
*/
@Api(value = "feign测试", tags = {"feign测试"})
@RequiredArgsConstructor(onConstructor_ = @Autowired)

@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.RequestParam;
* feign 使 http
*
* @author Lion Li
* @deprecated 使 3.4.0
*/
@FeignClient(
name = FeignTestConstant.BAIDU_NAME,

@ -1,5 +1,9 @@
package com.ruoyi.demo.feign.constant;
/**
* @deprecated 使 3.4.0
*/
@Deprecated
public class FeignTestConstant {
public static final String BAIDU_NAME = "baidu";

@ -14,6 +14,7 @@ import org.springframework.stereotype.Component;
*
* @see {com.ruoyi.framework.config.FeignConfig#errorDecoder()}
* @author Lion Li
* @deprecated 使 3.4.0
*/
@Slf4j
@Component

@ -17,7 +17,9 @@ import java.util.concurrent.TimeUnit;
* openfeign
*
* @author Lion Li
* @deprecated 使 3.4.0
*/
@Deprecated
@EnableFeignClients("${feign.package}")
@Configuration
@ConditionalOnClass(Feign.class)

Loading…
Cancel
Save