From ef809e0737ac52d081e58704cdfa23957593139b Mon Sep 17 00:00:00 2001
From: yh <1844516659@qq.com>
Date: Sat, 16 Jul 2022 08:33:16 +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-=E5=88=9B=E5=BB=BA=E4=B9=98=E5=AE=A2?=
=?UTF-8?q?=E7=94=A8=E6=88=B7=E6=9C=8D=E5=8A=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 1 +
service-passenger-user/pom.xml | 29 +++++++++++++++++++
.../ServicePassengerUserApplication.java | 13 +++++++++
.../controller/TestController.java | 14 +++++++++
.../src/main/resources/application.yml | 9 ++++++
5 files changed, 66 insertions(+)
create mode 100644 service-passenger-user/pom.xml
create mode 100644 service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.java
create mode 100644 service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/TestController.java
create mode 100644 service-passenger-user/src/main/resources/application.yml
diff --git a/pom.xml b/pom.xml
index d029f23..09942da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,6 +26,7 @@
api-passenger
internal-common
service-verificationcode
+ service-passenger-user
diff --git a/service-passenger-user/pom.xml b/service-passenger-user/pom.xml
new file mode 100644
index 0000000..1660ac7
--- /dev/null
+++ b/service-passenger-user/pom.xml
@@ -0,0 +1,29 @@
+
+
+
+ online-taxi-public
+ com.mashibing
+ 1.0-SNAPSHOT
+
+ 4.0.0
+
+ com.mashibing
+ service-passenger-user
+ 1.0-SNAPSHOT
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-discovery
+
+
+
+
+
\ No newline at end of file
diff --git a/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.java b/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.java
new file mode 100644
index 0000000..c508634
--- /dev/null
+++ b/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.java
@@ -0,0 +1,13 @@
+package com.mashibing.servicepassengeruser;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class ServicePassengerUserApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(ServicePassengerUserApplication.class, args);
+ }
+
+}
diff --git a/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/TestController.java b/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/TestController.java
new file mode 100644
index 0000000..1642e12
--- /dev/null
+++ b/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/TestController.java
@@ -0,0 +1,14 @@
+package com.mashibing.servicepassengeruser.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-passenger-user";
+ }
+
+}
diff --git a/service-passenger-user/src/main/resources/application.yml b/service-passenger-user/src/main/resources/application.yml
new file mode 100644
index 0000000..94b866f
--- /dev/null
+++ b/service-passenger-user/src/main/resources/application.yml
@@ -0,0 +1,9 @@
+server:
+ port: 8083
+spring:
+ application:
+ name: service-passenger-user
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 127.0.0.1:8848