| | |
| | | package com.ruoyi; |
| | | |
| | | import org.mybatis.spring.annotation.MapperScan; |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
| | |
| | | @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) |
| | | @EnableCaching |
| | | @EnableScheduling |
| | | @MapperScan("com.ruoyi.doublePrevention.repository") |
| | | public class RuoYiApplication |
| | | { |
| | | public static void main(String[] args) |
| | | { |
| | | // System.setProperty("spring.devtools.restart.enabled", "false"); |
| | | // System.setProperty("spring.devtools.restart.enabled", "false"); test |
| | | SpringApplication.run(RuoYiApplication.class, args); |
| | | System.out.println("---------------------------------启动成功---------------------------------"); |
| | | } |