diff --git a/pom.xml b/pom.xml
index 52d1cea..a0963d6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,6 +28,14 @@
org.springframework.boot
spring-boot-starter-aop
+
+
+
+ org.freemarker
+ freemarker
+ 2.3.28
+
+
org.mybatis.spring.boot
mybatis-spring-boot-starter
@@ -39,31 +47,7 @@
mybatis-plus-boot-starter
3.5.2
-
-
- org.springframework.boot
- spring-boot-starter-data-redis
-
-
- org.springframework.session
- spring-session-data-redis
-
-
-
- org.springframework.boot
- spring-boot-starter-data-elasticsearch
-
-
-
- org.apache.commons
- commons-lang3
-
-
-
- cn.hutool
- hutool-all
- 5.8.8
-
+
mysql
mysql-connector-java
diff --git a/src/main/java/com/teaching/backend/MainApplication.java b/src/main/java/com/teaching/backend/MainApplication.java
deleted file mode 100644
index 293b98a..0000000
--- a/src/main/java/com/teaching/backend/MainApplication.java
+++ /dev/null
@@ -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);
- }
-
-}
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index de8b6b9..7f1e8c0 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,5 +1,5 @@
server:
- port: 8081
+ port: 8080
spring:
application:
name: teaching-backend
@@ -11,4 +11,6 @@ spring:
url: jdbc:mysql://localhost:3306/teaching_db
username: root
password: root
-
+mybatis:
+ configuration:
+ map-underscore-to-camel-case: true
\ No newline at end of file