浏览代码

配置中心地址

chao 3 年之前
父节点
当前提交
db1ed4986c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/resources/bootstrap.yml

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

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