Commit 8ec97e7f authored by hanbing's avatar hanbing

Merge remote-tracking branch 'origin/master'

parents ea58417e c29ea484
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<dependency> <dependency>
<groupId>net.wanji</groupId> <groupId>net.wanji</groupId>
<artifactId>signal-feign-service</artifactId> <artifactId>signal-feign-service</artifactId>
<version>0.0.1</version> <version>0.0.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
......
...@@ -3,7 +3,6 @@ package net.wanji.web; ...@@ -3,7 +3,6 @@ package net.wanji.web;
import org.mybatis.spring.annotation.MapperScan; import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync; import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.transaction.annotation.EnableTransactionManagement;
...@@ -16,7 +15,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; ...@@ -16,7 +15,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableTransactionManagement @EnableTransactionManagement
@EnableScheduling @EnableScheduling
@EnableAsync @EnableAsync
@EnableFeignClients(basePackages = "net.wanji.feign.service") //@EnableFeignClients(basePackages = "net.wanji.feign.service")
public class SignalApplication { public class SignalApplication {
public static void main(String[] args) { public static void main(String[] args) {
......
...@@ -6,7 +6,7 @@ spring: ...@@ -6,7 +6,7 @@ spring:
accept_case_insensitive_properties: true accept_case_insensitive_properties: true
main: main:
allow-circular-references: true allow-circular-references: true
allow-bean-definition-overriding: true # allow-bean-definition-overriding: true
mvc: mvc:
pathmatch: pathmatch:
matching-strategy: ant_path_matcher matching-strategy: ant_path_matcher
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</parent> </parent>
<artifactId>signal-feign-service</artifactId> <artifactId>signal-feign-service</artifactId>
<name>signal-feign-service</name> <name>signal-feign-service</name>
<version>0.0.1</version> <version>0.0.2</version>
<dependencies> <dependencies>
<dependency> <dependency>
......
...@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration; ...@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration;
* @date 2023/01/09 15:23 * @date 2023/01/09 15:23
*/ */
@Configuration(value = "FeignClientsConfig") @Configuration(value = "FeignClientsConfig")
//@EnableFeignClients(basePackages = "net.wanji.feign") @EnableFeignClients(basePackages = "net.wanji.feign")
public class FeignClientsConfig { public class FeignClientsConfig {
@Value("${utc.service.url}") @Value("${utc.service.url}")
......
#org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
#net.wanji.feign.config.FeignClientsConfig net.wanji.feign.config.FeignClientsConfig
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment