Explorar el Código

配置中心地址

chao hace 3 años
padre
commit
fee6b66a7f
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      src/main/resources/bootstrap.yml

+ 3 - 2
src/main/resources/bootstrap.yml

@@ -9,6 +9,7 @@ spring:
     config:                             # Config客户端配置
       profile: @activatedProperties@    # 启用配置后缀名称
       label: master                     # 分支名称
-      # uri: http://47.119.112.46:18001       # 配置中心地址(开发中)
-      uri: http://localhost:18001          # 配置中心地址(正式环境)
+      # uri: http://localhost:18001      # 配置中心地址(本地)
+      # uri: http://47.119.112.46:18001  # 配置中心地址(测试环境)
+      uri: http://120.79.162.1:18001     # 配置中心地址(正式环境)
       name: user                        # 配置文件名称