parent
b1f61478c8
commit
e8b488e943
3 changed files with 13 additions and 48 deletions
@ -1,21 +0,0 @@ |
|||||||
package com.teaching.backend; |
|
||||||
|
|
||||||
import org.mybatis.spring.annotation.MapperScan; |
|
||||||
import org.springframework.boot.SpringApplication; |
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
||||||
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration; |
|
||||||
|
|
||||||
/** |
|
||||||
* 主类(项目启动入口) |
|
||||||
* |
|
||||||
*/ |
|
||||||
// todo 如需开启 Redis,须移除 exclude 中的内容
|
|
||||||
@SpringBootApplication(exclude = {RedisAutoConfiguration.class}) |
|
||||||
@MapperScan("com.teaching.backend.mapper") |
|
||||||
public class MainApplication { |
|
||||||
|
|
||||||
public static void main(String[] args) { |
|
||||||
SpringApplication.run(MainApplication.class, args); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
Loading…
Reference in new issue