| | |
| | | package com.panzhihua.sangeshenbian; |
| | | |
| | | import org.mybatis.spring.annotation.MapperScan; |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.cloud.client.SpringCloudApplication; |
| | | import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker; |
| | |
| | | import org.springframework.cloud.openfeign.EnableFeignClients; |
| | | import org.springframework.context.annotation.ComponentScan; |
| | | import org.springframework.scheduling.annotation.EnableScheduling; |
| | | import springfox.documentation.swagger2.annotations.EnableSwagger2; |
| | | |
| | | /** |
| | | * Hello world! |
| | | * |
| | | */ |
| | | @SpringCloudApplication |
| | | @EnableSwagger2 |
| | | @EnableFeignClients(basePackages = {"com.panzhihua.common.service"}) |
| | | @EnableEurekaClient |
| | | @EnableCircuitBreaker |
| | | @ComponentScan({"com.panzhihua.sangeshenbian", "com.panzhihua.common"}) |
| | | @MapperScan("com.panzhihua.sangeshenbian.dao") |
| | | @EnableScheduling |
| | | public class ServiceSangeshenbianApplication |
| | | { |