diff --git a/01-placeorder/pom.xml b/01-placeorder/pom.xml
index a486e1a..c9875fb 100644
--- a/01-placeorder/pom.xml
+++ b/01-placeorder/pom.xml
@@ -13,4 +13,19 @@
当前是下单服务
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-discovery
+
+
+ org.springframework.cloud
+ spring-cloud-starter-openfeign
+
+
+
\ No newline at end of file
diff --git a/01-placeorder/src/main/java/com/mashibing/PlaceOrderStarterApp.java b/01-placeorder/src/main/java/com/mashibing/PlaceOrderStarterApp.java
new file mode 100644
index 0000000..69057cf
--- /dev/null
+++ b/01-placeorder/src/main/java/com/mashibing/PlaceOrderStarterApp.java
@@ -0,0 +1,18 @@
+package com.mashibing;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
+
+/**
+ * @author zjw
+ * @description
+ */
+@SpringBootApplication
+@EnableDiscoveryClient
+public class PlaceOrderStarterApp {
+
+ public static void main(String[] args) {
+ SpringApplication.run(PlaceOrderStarterApp.class,args);
+ }
+}
diff --git a/01-placeorder/src/main/resources/application.yml b/01-placeorder/src/main/resources/application.yml
new file mode 100644
index 0000000..4b5ff9d
--- /dev/null
+++ b/01-placeorder/src/main/resources/application.yml
@@ -0,0 +1,10 @@
+server:
+ port: 80
+
+spring:
+ application:
+ name: placeorder
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 114.116.226.76:8848
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 3a1f9cc..eb73f21 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
Hoxton.SR12
- 2.2.7.RELEASE
+ 2.2.6.RELEASE