commit 4b712df2826cbaeaae7c7d3d97e4ca241bda988f
Author: Yo Vinchen <2982554722@qq.com>
Date: Thu Mar 2 17:33:02 2023 +0800
Initial commit
diff --git a/.idea/$PROJECT_FILE$ b/.idea/$PROJECT_FILE$
new file mode 100644
index 0000000..c1ce1bb
--- /dev/null
+++ b/.idea/$PROJECT_FILE$
@@ -0,0 +1,468 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
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/README.md b/.idea/README.md
new file mode 100644
index 0000000..b41a994
--- /dev/null
+++ b/.idea/README.md
@@ -0,0 +1,2 @@
+# Springboot_Study
+学习Springboot的测试项目
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..0741dbb
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..d3269d4
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/intellij-javadocs-4.0.1.xml b/.idea/intellij-javadocs-4.0.1.xml
new file mode 100644
index 0000000..90d3347
--- /dev/null
+++ b/.idea/intellij-javadocs-4.0.1.xml
@@ -0,0 +1,204 @@
+
+
+
+
+ UPDATE
+ false
+ true
+
+ FIELD
+ METHOD
+ TYPE
+
+
+ PUBLIC
+ PROTECTED
+ DEFAULT
+
+
+
+
+
+ ^.*(public|protected|private)*.+interface\s+\w+.*
+ /**\n
+ * The interface ${name}.\n
+<#if element.typeParameters?has_content> * \n
+</#if>
+<#list element.typeParameters as typeParameter>
+ * @param <${typeParameter.name}> the type parameter\n
+</#list>
+ */
+
+
+ ^.*(public|protected|private)*.+enum\s+\w+.*
+ /**\n
+ * The enum ${name}.\n
+ */
+
+
+ ^.*(public|protected|private)*.+class\s+\w+.*
+ /**\n
+ * The type ${name}.\n
+<#if element.typeParameters?has_content> * \n
+</#if>
+<#list element.typeParameters as typeParameter>
+ * @param <${typeParameter.name}> the type parameter\n
+</#list>
+ */
+
+
+ .+
+ /**\n
+ * The type ${name}.\n
+ */
+
+
+
+
+ .+
+ /**\n
+ * Instantiates a new ${name}.\n
+<#if element.parameterList.parameters?has_content>
+ *\n
+</#if>
+<#list element.parameterList.parameters as parameter>
+ * @param ${parameter.name} the ${paramNames[parameter.name]}\n
+</#list>
+<#if element.throwsList.referenceElements?has_content>
+ *\n
+</#if>
+<#list element.throwsList.referenceElements as exception>
+ * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
+</#list>
+ */
+
+
+
+
+ ^.*(public|protected|private)*\s*.*(\w(\s*<.+>)*)+\s+get\w+\s*\(.*\).+
+ /**\n
+ * Gets ${partName}.\n
+<#if element.typeParameters?has_content> * \n
+</#if>
+<#list element.typeParameters as typeParameter>
+ * @param <${typeParameter.name}> the type parameter\n
+</#list>
+<#if element.parameterList.parameters?has_content>
+ *\n
+</#if>
+<#list element.parameterList.parameters as parameter>
+ * @param ${parameter.name} the ${paramNames[parameter.name]}\n
+</#list>
+<#if isNotVoid>
+ *\n
+ * @return the ${partName}\n
+</#if>
+<#if element.throwsList.referenceElements?has_content>
+ *\n
+</#if>
+<#list element.throwsList.referenceElements as exception>
+ * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
+</#list>
+ */
+
+
+ ^.*(public|protected|private)*\s*.*(void|\w(\s*<.+>)*)+\s+set\w+\s*\(.*\).+
+ /**\n
+ * Sets ${partName}.\n
+<#if element.typeParameters?has_content> * \n
+</#if>
+<#list element.typeParameters as typeParameter>
+ * @param <${typeParameter.name}> the type parameter\n
+</#list>
+<#if element.parameterList.parameters?has_content>
+ *\n
+</#if>
+<#list element.parameterList.parameters as parameter>
+ * @param ${parameter.name} the ${paramNames[parameter.name]}\n
+</#list>
+<#if isNotVoid>
+ *\n
+ * @return the ${partName}\n
+</#if>
+<#if element.throwsList.referenceElements?has_content>
+ *\n
+</#if>
+<#list element.throwsList.referenceElements as exception>
+ * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
+</#list>
+ */
+
+
+ ^.*((public\s+static)|(static\s+public))\s+void\s+main\s*\(\s*String\s*(\[\s*\]|\.\.\.)\s+\w+\s*\).+
+ /**\n
+ * The entry point of application.\n
+
+ <#if element.parameterList.parameters?has_content>
+ *\n
+</#if>
+ * @param ${element.parameterList.parameters[0].name} the input arguments\n
+<#if element.throwsList.referenceElements?has_content>
+ *\n
+</#if>
+<#list element.throwsList.referenceElements as exception>
+ * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
+</#list>
+ */
+
+
+ .+
+ /**\n
+ * ${name}<#if isNotVoid> ${return}</#if>.\n
+<#if element.typeParameters?has_content> * \n
+</#if>
+<#list element.typeParameters as typeParameter>
+ * @param <${typeParameter.name}> the type parameter\n
+</#list>
+<#if element.parameterList.parameters?has_content>
+ *\n
+</#if>
+<#list element.parameterList.parameters as parameter>
+ * @param ${parameter.name} the ${paramNames[parameter.name]}\n
+</#list>
+<#if isNotVoid>
+ *\n
+ * @return the ${return}\n
+</#if>
+<#if element.throwsList.referenceElements?has_content>
+ *\n
+</#if>
+<#list element.throwsList.referenceElements as exception>
+ * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
+</#list>
+ */
+
+
+
+
+ ^.*(public|protected|private)*.+static.*(\w\s\w)+.+
+ /**\n
+ * The constant ${element.getName()}.\n
+ */
+
+
+ ^.*(public|protected|private)*.*(\w\s\w)+.+
+ /**\n
+ <#if element.parent.isInterface()>
+ * The constant ${element.getName()}.\n
+<#else>
+ * The ${name}.\n
+</#if> */
+
+
+ .+
+ /**\n
+ <#if element.parent.isEnum()>
+ *${name} ${typeName}.\n
+<#else>
+ * The ${name}.\n
+</#if>*/
+
+
+
+
+
\ 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/jpa-buddy.xml b/.idea/jpa-buddy.xml
new file mode 100644
index 0000000..966d5f5
--- /dev/null
+++ b/.idea/jpa-buddy.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..b42ef6e
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..64e1a6e
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/qaplug_profiles.xml b/.idea/qaplug_profiles.xml
new file mode 100644
index 0000000..3dfd21f
--- /dev/null
+++ b/.idea/qaplug_profiles.xml
@@ -0,0 +1,465 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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/SpringBoot_Study.iml b/SpringBoot_Study.iml
new file mode 100644
index 0000000..9a5cfce
--- /dev/null
+++ b/SpringBoot_Study.iml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/springboot_01_02_quickstart/.gitignore b/springboot_01_02_quickstart/.gitignore
new file mode 100644
index 0000000..549e00a
--- /dev/null
+++ b/springboot_01_02_quickstart/.gitignore
@@ -0,0 +1,33 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
diff --git a/springboot_01_02_quickstart/pom.xml b/springboot_01_02_quickstart/pom.xml
new file mode 100644
index 0000000..1be36e7
--- /dev/null
+++ b/springboot_01_02_quickstart/pom.xml
@@ -0,0 +1,41 @@
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 3.0.3
+
+
+ com.yv
+ springboot_01_02_quickstart
+ 0.0.1-SNAPSHOT
+ springboot_01_02_quickstart
+ Demo project for Spring Boot
+
+ 17
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
diff --git a/springboot_01_02_quickstart/src/main/java/com/yv/Springboot0102QuickstartApplication.java b/springboot_01_02_quickstart/src/main/java/com/yv/Springboot0102QuickstartApplication.java
new file mode 100644
index 0000000..d8999e8
--- /dev/null
+++ b/springboot_01_02_quickstart/src/main/java/com/yv/Springboot0102QuickstartApplication.java
@@ -0,0 +1,16 @@
+package com.yv;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+/**
+ * @author YoVinchen
+ */
+@SpringBootApplication
+public class Springboot0102QuickstartApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(Springboot0102QuickstartApplication.class, args);
+ }
+
+}
diff --git a/springboot_01_02_quickstart/src/main/java/com/yv/controller/BookController.java b/springboot_01_02_quickstart/src/main/java/com/yv/controller/BookController.java
new file mode 100644
index 0000000..f5fff70
--- /dev/null
+++ b/springboot_01_02_quickstart/src/main/java/com/yv/controller/BookController.java
@@ -0,0 +1,21 @@
+package com.yv.controller;
+
+
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * Rest模式
+ *
+ * @author YoVinchen
+ */
+@RestController
+@RequestMapping("/books")
+public class BookController {
+ @GetMapping
+ public String getById() {
+ System.out.println("springBoot2 is running ......");
+ return "springBoot2 is running ......";
+ }
+}
diff --git a/springboot_01_02_quickstart/src/main/resources/application.properties b/springboot_01_02_quickstart/src/main/resources/application.properties
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/springboot_01_02_quickstart/src/main/resources/application.properties
@@ -0,0 +1 @@
+
diff --git a/springboot_01_02_quickstart/src/test/java/com/yv/Springboot0102QuickstartApplicationTests.java b/springboot_01_02_quickstart/src/test/java/com/yv/Springboot0102QuickstartApplicationTests.java
new file mode 100644
index 0000000..5d5db70
--- /dev/null
+++ b/springboot_01_02_quickstart/src/test/java/com/yv/Springboot0102QuickstartApplicationTests.java
@@ -0,0 +1,13 @@
+package com.yv;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class Springboot0102QuickstartApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}
diff --git a/springboot_01_03_quickstart/.gitignore b/springboot_01_03_quickstart/.gitignore
new file mode 100644
index 0000000..a2a3040
--- /dev/null
+++ b/springboot_01_03_quickstart/.gitignore
@@ -0,0 +1,31 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**
+!**/src/test/**
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+
+### VS Code ###
+.vscode/
diff --git a/springboot_01_03_quickstart/README.md b/springboot_01_03_quickstart/README.md
new file mode 100644
index 0000000..c0d9ab2
--- /dev/null
+++ b/springboot_01_03_quickstart/README.md
@@ -0,0 +1,4 @@
+# 工程简介
+
+# 延伸阅读
+
diff --git a/springboot_01_03_quickstart/pom.xml b/springboot_01_03_quickstart/pom.xml
new file mode 100644
index 0000000..8de1116
--- /dev/null
+++ b/springboot_01_03_quickstart/pom.xml
@@ -0,0 +1,59 @@
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.3.12.RELEASE
+
+
+ com.yv
+ springboot_01_03_quickstart
+ 0.0.1-SNAPSHOT
+ springboot_01_03_quickstart
+ springboot_01_03_quickstart
+
+
+ 1.8
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.1
+
+
+ 1.8
+ UTF-8
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
diff --git a/springboot_01_03_quickstart/src/main/java/com/yv/Springboot0103QuickstartApplication.java b/springboot_01_03_quickstart/src/main/java/com/yv/Springboot0103QuickstartApplication.java
new file mode 100644
index 0000000..11ca196
--- /dev/null
+++ b/springboot_01_03_quickstart/src/main/java/com/yv/Springboot0103QuickstartApplication.java
@@ -0,0 +1,16 @@
+package com.yv;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+/**
+ * @author YoVinchen
+ */
+@SpringBootApplication
+public class Springboot0103QuickstartApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(Springboot0103QuickstartApplication.class, args);
+ }
+
+}
diff --git a/springboot_01_03_quickstart/src/main/java/com/yv/controller/BookController.java b/springboot_01_03_quickstart/src/main/java/com/yv/controller/BookController.java
new file mode 100644
index 0000000..44cccf6
--- /dev/null
+++ b/springboot_01_03_quickstart/src/main/java/com/yv/controller/BookController.java
@@ -0,0 +1,21 @@
+package com.yv.controller;
+
+
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * Rest模式
+ *
+ * @author YoVinchen
+ */
+@RestController
+@RequestMapping("/books")
+public class BookController {
+ @GetMapping
+ public String getById() {
+ System.out.println("springBoot3 is running ......");
+ return "springBoot3 is running ......";
+ }
+}
diff --git a/springboot_01_03_quickstart/src/main/resources/application.properties b/springboot_01_03_quickstart/src/main/resources/application.properties
new file mode 100644
index 0000000..27bb88a
--- /dev/null
+++ b/springboot_01_03_quickstart/src/main/resources/application.properties
@@ -0,0 +1,6 @@
+# 应用名称
+spring.application.name=springboot_01_03_quickstart
+# 应用服务 WEB 访问端口
+server.port=8080
+
+
diff --git a/springboot_01_03_quickstart/src/test/java/com/yv/Springboot0103QuickstartApplicationTests.java b/springboot_01_03_quickstart/src/test/java/com/yv/Springboot0103QuickstartApplicationTests.java
new file mode 100644
index 0000000..f44a73a
--- /dev/null
+++ b/springboot_01_03_quickstart/src/test/java/com/yv/Springboot0103QuickstartApplicationTests.java
@@ -0,0 +1,13 @@
+package com.yv;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class Springboot0103QuickstartApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}
diff --git a/springboot_01_04_quickstart/pom.xml b/springboot_01_04_quickstart/pom.xml
new file mode 100644
index 0000000..e0c6f1a
--- /dev/null
+++ b/springboot_01_04_quickstart/pom.xml
@@ -0,0 +1,37 @@
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 3.0.3
+
+
+ org.example
+ springboot_01_04_quickstart
+ war
+ 1.0-SNAPSHOT
+ springboot_01_04_quickstart Maven Webapp
+ http://maven.apache.org
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+ springboot_01_04_quickstart
+
+
diff --git a/springboot_01_04_quickstart/src/main/java/com/yv/Application.java b/springboot_01_04_quickstart/src/main/java/com/yv/Application.java
new file mode 100644
index 0000000..40b1d00
--- /dev/null
+++ b/springboot_01_04_quickstart/src/main/java/com/yv/Application.java
@@ -0,0 +1,14 @@
+package com.yv;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+/**
+ * @author YoVinchen
+ */
+@SpringBootApplication
+public class Application {
+ public static void main(String[] args) {
+ SpringApplication.run(Application.class, args);
+ }
+}
diff --git a/springboot_01_04_quickstart/src/main/java/com/yv/controller/BookController.java b/springboot_01_04_quickstart/src/main/java/com/yv/controller/BookController.java
new file mode 100644
index 0000000..6a57144
--- /dev/null
+++ b/springboot_01_04_quickstart/src/main/java/com/yv/controller/BookController.java
@@ -0,0 +1,21 @@
+package com.yv.controller;
+
+
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * Rest模式
+ *
+ * @author YoVinchen
+ */
+@RestController
+@RequestMapping("/books")
+public class BookController {
+ @GetMapping
+ public String getById() {
+ System.out.println("springBoot4 is running ......");
+ return "springBoot4 is running ......";
+ }
+}
diff --git a/springboot_01_04_quickstart/src/main/webapp/WEB-INF/web.xml b/springboot_01_04_quickstart/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..9f88c1f
--- /dev/null
+++ b/springboot_01_04_quickstart/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,7 @@
+
+
+
+ Archetype Created Web Application
+
diff --git a/springboot_01_04_quickstart/src/main/webapp/index.jsp b/springboot_01_04_quickstart/src/main/webapp/index.jsp
new file mode 100644
index 0000000..c38169b
--- /dev/null
+++ b/springboot_01_04_quickstart/src/main/webapp/index.jsp
@@ -0,0 +1,5 @@
+
+
+Hello World!
+
+
diff --git a/springboot_01_04_quickstart/target/classes/com/yv/Application.class b/springboot_01_04_quickstart/target/classes/com/yv/Application.class
new file mode 100644
index 0000000..168a4eb
Binary files /dev/null and b/springboot_01_04_quickstart/target/classes/com/yv/Application.class differ
diff --git a/springboot_01_04_quickstart/target/classes/com/yv/controller/BookController.class b/springboot_01_04_quickstart/target/classes/com/yv/controller/BookController.class
new file mode 100644
index 0000000..c7fc409
Binary files /dev/null and b/springboot_01_04_quickstart/target/classes/com/yv/controller/BookController.class differ