update feign 标记过期
This commit is contained in:
parent
a6fb88d74c
commit
37a8addf52
3
pom.xml
3
pom.xml
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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)
|
||||||
|
@ -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,
|
||||||
|
@ -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";
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user