From 46b122e2f6db281ca613b1f80abc4b19aecb9a6e Mon Sep 17 00:00:00 2001 From: Gary <3489015381@qq.com> Date: Tue, 10 Dec 2024 14:25:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=BB=93=E6=9E=84=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 8 +++ .idea/ApifoxUploaderProjectSetting.xml | 6 ++ .idea/compiler.xml | 13 ++++ .idea/encodings.xml | 7 ++ .idea/jarRepositories.xml | 20 ++++++ .idea/misc.xml | 14 ++++ .idea/vcs.xml | 6 ++ pom.xml | 72 +++++++++++++++++++ .../gary/exercise/ExerciseApplication.java | 13 ++++ .../gary/exercise/config/WebSocketConfig.java | 4 ++ .../exercise/ExerciseApplicationTests.java | 13 ++++ 11 files changed, 176 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/ApifoxUploaderProjectSetting.xml create mode 100644 .idea/compiler.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/jarRepositories.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/vcs.xml create mode 100644 pom.xml create mode 100644 src/main/java/com/gary/exercise/ExerciseApplication.java create mode 100644 src/main/java/com/gary/exercise/config/WebSocketConfig.java create mode 100644 src/test/java/com/gary/exercise/ExerciseApplicationTests.java diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/ApifoxUploaderProjectSetting.xml b/.idea/ApifoxUploaderProjectSetting.xml new file mode 100644 index 0000000..b3722b0 --- /dev/null +++ b/.idea/ApifoxUploaderProjectSetting.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..d7e145d --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..5a2f139 --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..df00c07 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..a022880 --- /dev/null +++ b/pom.xml @@ -0,0 +1,72 @@ + + + 4.0.0 + com.gary + exercise + 0.0.1-SNAPSHOT + exercise + exercise + + 1.8 + UTF-8 + UTF-8 + 2.6.13 + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + UTF-8 + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + com.gary.exercise.ExerciseApplication + true + + + + repackage + + repackage + + + + + + + + diff --git a/src/main/java/com/gary/exercise/ExerciseApplication.java b/src/main/java/com/gary/exercise/ExerciseApplication.java new file mode 100644 index 0000000..05e2e29 --- /dev/null +++ b/src/main/java/com/gary/exercise/ExerciseApplication.java @@ -0,0 +1,13 @@ +package com.gary.exercise; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ExerciseApplication { + + public static void main(String[] args) { + SpringApplication.run(ExerciseApplication.class, args); + } + +} diff --git a/src/main/java/com/gary/exercise/config/WebSocketConfig.java b/src/main/java/com/gary/exercise/config/WebSocketConfig.java new file mode 100644 index 0000000..091cf0c --- /dev/null +++ b/src/main/java/com/gary/exercise/config/WebSocketConfig.java @@ -0,0 +1,4 @@ +package com.gary.exercise.config; + +public class WebSocketConfig { +} diff --git a/src/test/java/com/gary/exercise/ExerciseApplicationTests.java b/src/test/java/com/gary/exercise/ExerciseApplicationTests.java new file mode 100644 index 0000000..8c85815 --- /dev/null +++ b/src/test/java/com/gary/exercise/ExerciseApplicationTests.java @@ -0,0 +1,13 @@ +package com.gary.exercise; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class ExerciseApplicationTests { + + @Test + void contextLoads() { + } + +}