| | |
| | | import org.springframework.boot.web.servlet.ServletComponentScan; |
| | | import org.springframework.cloud.openfeign.EnableFeignClients; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.ComponentScan; |
| | | import org.springframework.context.annotation.Import; |
| | | import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; |
| | | import org.springframework.scheduling.annotation.EnableScheduling; |
| | | import org.springframework.stereotype.Component; |
| | | import springfox.documentation.swagger2.annotations.EnableSwagger2; |
| | | |
| | | import javax.annotation.PostConstruct; |
| | |
| | | @EnableFeignClients |
| | | @MBCloudApplication |
| | | @Import({WebConfig.class}) |
| | | @MapperScan("com.dsh.app.mapper") |
| | | @MapperScan("com.dsh.course.mapper") |
| | | @ServletComponentScan |
| | | @EnableScheduling |
| | | @ComponentScan(basePackages = {"com.dsh.*","com.github.binarywang.wxpay.service"}) |
| | | public class ManagementApplication { |
| | | public static void main(String[] args) { |
| | | try{ |