diff --git a/README.md b/README.md index b1b2d05..c2cdc94 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,7 @@ Spring Cloud Alibaba GitHub repo:https://github.com/alibaba/spring-cloud-aliba Spring initializr:https://start.spring.io/ https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.7.5&packaging=jar&jvmVersion=11&groupId=com.cxyxiaomo&artifactId=entrance&name=Epidemic%20prevention%20platform&description=&packageName=com.cxyxiaomo.entrance&dependencies=lombok,mysql,mybatis + +#### Maven + +MVN REPOSITORY:https://mvnrepository.com/ diff --git a/backend/.idea/.gitignore b/backend/.idea/.gitignore new file mode 100644 index 0000000..a7cdac7 --- /dev/null +++ b/backend/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/backend/.idea/encodings.xml b/backend/.idea/encodings.xml new file mode 100644 index 0000000..0e1c064 --- /dev/null +++ b/backend/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/backend/.idea/misc.xml b/backend/.idea/misc.xml new file mode 100644 index 0000000..71dd7aa --- /dev/null +++ b/backend/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/backend/.idea/vcs.xml b/backend/.idea/vcs.xml new file mode 100644 index 0000000..2e3f692 --- /dev/null +++ b/backend/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/backend/.run/Application.run.xml b/backend/.run/Application.run.xml new file mode 100644 index 0000000..6d72eaa --- /dev/null +++ b/backend/.run/Application.run.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/backend/pom.xml b/backend/pom.xml index 1ec9ed1..e3b85a7 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 2.7.5 + 2.7.4 com.cxyxiaomo @@ -17,26 +17,30 @@ 11 + + + org.springframework.boot + spring-boot-starter-test + test + + org.mybatis.spring.boot mybatis-spring-boot-starter 2.2.2 + mysql mysql-connector-java runtime + org.projectlombok lombok true - - org.springframework.boot - spring-boot-starter-test - test - diff --git a/backend/src/main/java/com/cxyxiaomo/entrance/EpidemicPreventionPlatformApplication.java b/backend/src/main/java/com/cxyxiaomo/entrance/Application.java similarity index 63% rename from backend/src/main/java/com/cxyxiaomo/entrance/EpidemicPreventionPlatformApplication.java rename to backend/src/main/java/com/cxyxiaomo/entrance/Application.java index b034e38..ed9321a 100644 --- a/backend/src/main/java/com/cxyxiaomo/entrance/EpidemicPreventionPlatformApplication.java +++ b/backend/src/main/java/com/cxyxiaomo/entrance/Application.java @@ -4,10 +4,10 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -public class EpidemicPreventionPlatformApplication { +public class Application { public static void main(String[] args) { - SpringApplication.run(EpidemicPreventionPlatformApplication.class, args); + SpringApplication.run(Application.class, args); } } diff --git a/backend/src/test/java/com/cxyxiaomo/entrance/EpidemicPreventionPlatformApplicationTests.java b/backend/src/test/java/com/cxyxiaomo/entrance/ApplicationTests.java similarity index 78% rename from backend/src/test/java/com/cxyxiaomo/entrance/EpidemicPreventionPlatformApplicationTests.java rename to backend/src/test/java/com/cxyxiaomo/entrance/ApplicationTests.java index c8175aa..53b7b2a 100644 --- a/backend/src/test/java/com/cxyxiaomo/entrance/EpidemicPreventionPlatformApplicationTests.java +++ b/backend/src/test/java/com/cxyxiaomo/entrance/ApplicationTests.java @@ -4,7 +4,7 @@ import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest -class EpidemicPreventionPlatformApplicationTests { +class ApplicationTests { @Test void contextLoads() {