傅行帆 6 年之前
父節點
當前提交
f0a5f8ab09
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. 8
    0
      CODE/smart-community/hardware-server/src/main/resources/bootstrap.yml

+ 8
- 0
CODE/smart-community/hardware-server/src/main/resources/bootstrap.yml 查看文件

@@ -3,6 +3,14 @@ server:
3 3
 spring:
4 4
   application:
5 5
     name: hardware-server
6
+  cloud:
7
+    config:
8
+      name: application
9
+      label: master
10
+      #      uri: http://localhost:7001/
11
+      discovery:
12
+        enabled: true
13
+        serviceId: config-server
6 14
   aop:
7 15
     auto: true
8 16
     proxy-target-class: true