From 972b67de22887f8ced2d9ab2becfee56cb401106 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?=
<2291200076@qq.com>
Date: Fri, 21 Oct 2022 00:58:53 +0800
Subject: [PATCH] =?UTF-8?q?SpringCloud=E9=A1=B9=E7=9B=AE=E5=88=9D=E6=AD=A5?=
=?UTF-8?q?=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 4 ++++
backend/.idea/.gitignore | 8 ++++++++
backend/.idea/encodings.xml | 7 +++++++
backend/.idea/misc.xml | 12 ++++++++++++
backend/.idea/vcs.xml | 6 ++++++
backend/.run/Application.run.xml | 10 ++++++++++
backend/pom.xml | 16 ++++++++++------
...PlatformApplication.java => Application.java} | 4 ++--
...plicationTests.java => ApplicationTests.java} | 2 +-
9 files changed, 60 insertions(+), 9 deletions(-)
create mode 100644 backend/.idea/.gitignore
create mode 100644 backend/.idea/encodings.xml
create mode 100644 backend/.idea/misc.xml
create mode 100644 backend/.idea/vcs.xml
create mode 100644 backend/.run/Application.run.xml
rename backend/src/main/java/com/cxyxiaomo/entrance/{EpidemicPreventionPlatformApplication.java => Application.java} (63%)
rename backend/src/test/java/com/cxyxiaomo/entrance/{EpidemicPreventionPlatformApplicationTests.java => ApplicationTests.java} (78%)
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() {