|
|
@ -21,6 +21,7 @@ import com.example.demo.props.DemoProperties; |
|
|
|
import org.mybatis.spring.annotation.MapperScan; |
|
|
|
import org.mybatis.spring.annotation.MapperScan; |
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties; |
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties; |
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients; |
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients; |
|
|
|
|
|
|
|
import org.springframework.context.annotation.ComponentScan; |
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -29,6 +30,7 @@ import org.springframework.context.annotation.Configuration; |
|
|
|
* @author Chill |
|
|
|
* @author Chill |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Configuration |
|
|
|
@Configuration |
|
|
|
|
|
|
|
@ComponentScan({"org.springblade", "com.example"}) |
|
|
|
@EnableFeignClients({"org.springblade", "com.example"}) |
|
|
|
@EnableFeignClients({"org.springblade", "com.example"}) |
|
|
|
@MapperScan({"org.springblade.**.mapper.**", "com.example.**.mapper.**"}) |
|
|
|
@MapperScan({"org.springblade.**.mapper.**", "com.example.**.mapper.**"}) |
|
|
|
@EnableConfigurationProperties(DemoProperties.class) |
|
|
|
@EnableConfigurationProperties(DemoProperties.class) |
|
|
|