commit 2a2ba4721e370184e22dfbaf37d4125696fccde2 Author: 郑大仙丶 Date: Fri Jun 30 01:00:43 2023 +0800 xxxx diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8450319 --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +# Created by .ignore support plugin (hsz.mobi) +### Example user template template +### Example user template + +# IntelliJ project files +.idea +*.iml +out +gen +### Maven template +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +.mvn/wrapper/maven-wrapper.jar + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..3fad471 --- /dev/null +++ b/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.3.12.RELEASE + + + xxxx + xxx + 1.0-SNAPSHOT + + + + org.springframework.boot + spring-boot-starter-web + + + \ No newline at end of file diff --git a/src/main/java/xxx/XxxApp.java b/src/main/java/xxx/XxxApp.java new file mode 100644 index 0000000..02c5f29 --- /dev/null +++ b/src/main/java/xxx/XxxApp.java @@ -0,0 +1,16 @@ +package xxx; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * @author 郑大仙丶 + * @version V1.0.0 + */ +@SpringBootApplication +public class XxxApp { + + public static void main(String[] args) { + SpringApplication.run(XxxApp.class,args); + } +} diff --git a/src/main/java/xxx/controller/XxxController.java b/src/main/java/xxx/controller/XxxController.java new file mode 100644 index 0000000..408b37e --- /dev/null +++ b/src/main/java/xxx/controller/XxxController.java @@ -0,0 +1,18 @@ +package xxx.controller; + +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * @author 郑大仙丶 + * @version V1.0.0 + */ +@RestController +public class XxxController { + + + @GetMapping("/test") + public String test(){ + return "test!"; + } +}