springcloud的feign访问方式1.4.1和2.0.1兼容问题,接入服务《二》

1.依赖包

<dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-feign</artifactId>
            <version>1.4.1</version>  
        </dependency>

        <!-- 引入接入包 -->
        <dependency>
            <groupId>com.xxx.demo</groupId>
            <artifactId>facade</artifactId>
            <version>1.0</version>  
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.cloud</groupId>
                    <artifactId>spring-cloud-starter-openfeign</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

2.接入服务包需支持1.4.1访问

相关推荐