From 3514ae345f9fab57fb303943a70f5ed4482bc503 Mon Sep 17 00:00:00 2001 From: gaorl Date: Tue, 25 Apr 2023 19:33:07 +0800 Subject: [PATCH] =?UTF-8?q?feature=EF=BC=9A=E6=B5=8B=E8=AF=95=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE=E6=9C=8D=E5=8A=A1=E5=8F=91=E7=8E=B0?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E8=B4=A6=E6=88=B7=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/bootstrap-test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/order-management-consumer/src/main/resources/bootstrap-test.yaml b/order-management-consumer/src/main/resources/bootstrap-test.yaml index cf271481..c898984e 100644 --- a/order-management-consumer/src/main/resources/bootstrap-test.yaml +++ b/order-management-consumer/src/main/resources/bootstrap-test.yaml @@ -55,6 +55,11 @@ spring: discovery: # Nacos discovery 服务地址 server-addr: 172.31.36.143:33000 + #Nacos config 命名空间,对应配置中的名称(sims_order_namespace) + namespace: ${spring.cloud.nacos.config.namespace} + # Nacos config 登录用户名 + username: ${spring.cloud.nacos.config.username} + password: ${spring.cloud.nacos.config.password} #sentinel配置相关 sentinel: #sentinel是否开启控制