From aff628e6cf1e7fe3b0cd6a9b6be6645a160360a9 Mon Sep 17 00:00:00 2001 From: yh <1844516659@qq.com> Date: Mon, 18 Jul 2022 09:10:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=9E=E6=BB=B4=E5=87=BA=E8=A1=8C=E7=BD=91?= =?UTF-8?q?=E7=BA=A6=E8=BD=A62022-=E9=A2=84=E4=BC=B0=E4=BB=B7=E6=A0=BCserv?= =?UTF-8?q?ice-map=E9=A1=B9=E7=9B=AE=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 + service-map/.gitignore | 48 +++++++++++++++++++ service-map/pom.xml | 21 ++++++++ .../servicemap/ServiceMapApplication.java | 11 +++++ .../servicemap/controller/TestController.java | 14 ++++++ .../src/main/resources/application.yml | 5 ++ 6 files changed, 100 insertions(+) create mode 100644 service-map/.gitignore create mode 100644 service-map/pom.xml create mode 100644 service-map/src/main/java/com/mashibing/servicemap/ServiceMapApplication.java create mode 100644 service-map/src/main/java/com/mashibing/servicemap/controller/TestController.java create mode 100644 service-map/src/main/resources/application.yml diff --git a/pom.xml b/pom.xml index 7a0442b..5f8ff95 100644 --- a/pom.xml +++ b/pom.xml @@ -28,6 +28,7 @@ service-verificationcode service-passenger-user service-price + service-map diff --git a/service-map/.gitignore b/service-map/.gitignore new file mode 100644 index 0000000..bdd28b0 --- /dev/null +++ b/service-map/.gitignore @@ -0,0 +1,48 @@ +# .gitignore + +### IntelliJ IDEA Project ### +.idea +*.iws +*.iml +*.ipr +/.idea +target +src/test/ +!**/src/test/**/target/ +#!**/src/main/**/target/ + +### Maven template +HELP.md +README.md +.mvn +mvnw +mvnw.cmd +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +timing.properties +#.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ + +### VS Code ### +.vscode/ diff --git a/service-map/pom.xml b/service-map/pom.xml new file mode 100644 index 0000000..e4a3fe5 --- /dev/null +++ b/service-map/pom.xml @@ -0,0 +1,21 @@ + + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + 4.0.0 + + service-map + + + + org.springframework.boot + spring-boot-starter-web + + + + \ No newline at end of file diff --git a/service-map/src/main/java/com/mashibing/servicemap/ServiceMapApplication.java b/service-map/src/main/java/com/mashibing/servicemap/ServiceMapApplication.java new file mode 100644 index 0000000..88e2da2 --- /dev/null +++ b/service-map/src/main/java/com/mashibing/servicemap/ServiceMapApplication.java @@ -0,0 +1,11 @@ +package com.mashibing.servicemap; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ServiceMapApplication { + public static void main(String[] args) { + SpringApplication.run(ServiceMapApplication.class); + } +} diff --git a/service-map/src/main/java/com/mashibing/servicemap/controller/TestController.java b/service-map/src/main/java/com/mashibing/servicemap/controller/TestController.java new file mode 100644 index 0000000..1c91498 --- /dev/null +++ b/service-map/src/main/java/com/mashibing/servicemap/controller/TestController.java @@ -0,0 +1,14 @@ +package com.mashibing.servicemap.controller; + +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TestController { + + @GetMapping("/test") + public String test() { + return "service map"; + } + +} diff --git a/service-map/src/main/resources/application.yml b/service-map/src/main/resources/application.yml new file mode 100644 index 0000000..a08ae9c --- /dev/null +++ b/service-map/src/main/resources/application.yml @@ -0,0 +1,5 @@ +server: + port: 8085 +spring: + application: + name: service-map \ No newline at end of file