| | |
| | | package com.xcong.farmer.cms; |
| | | |
| | | import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure; |
| | | import com.xcong.farmer.cms.netty.server.WebSocketServer; |
| | | import org.mybatis.spring.annotation.MapperScan; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | * @author helius |
| | | */ |
| | | @EnableSwagger2 |
| | | @SpringBootApplication |
| | | @SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class) |
| | | @MapperScan("com.xcong.farmer.cms.modules.*.mapper") |
| | | @MapperScan("com.xcong.farmer.cms.modules.*.dao") |
| | | public class FarmerCmsApplication implements CommandLineRunner { |