fix:添加配置

上级 db1f1669
......@@ -24,7 +24,7 @@
<dependencies>
<dependency>
<groupId>com.kwan.springcloudalibaba</groupId>
<artifactId>nacos-feign-api</artifactId>
<artifactId>nacos-server-feign-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
......
......@@ -9,9 +9,9 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>nacos-feign-api</artifactId>
<name>nacos-feign-api</name>
<description>nacos-feign-api</description>
<artifactId>nacos-server-feign-api</artifactId>
<name>nacos-server-feign-api</name>
<description>nacos-server-feign-api</description>
<properties>
<java.version>1.8</java.version>
......
......@@ -24,12 +24,11 @@ spring:
nacos:
discovery:
server-addr: http://120.79.36.53:8848 #服务注册地址
namespace: e750dcd5-657b-489b-8d15-b7b71aa3e984
config:
server-addr: http://120.79.36.53:8848 #配置中心地址
file-extension: yaml #文件类型
group: DEV_GROUP #组别
namespace: e750dcd5-657b-489b-8d15-b7b71aa3e984 #命名空间
namespace: 4cd9bd32-8f25-45cd-b919-df1a0df146e0 #命名空间
refresh-enabled: true #默认自动刷新
sentinel:
transport:
......
......@@ -24,7 +24,7 @@
<module>nacos-server-producer-9091</module>
<module>nacos-server-producer-9092</module>
<module>nacos-server-consumer</module>
<module>nacos-feign-api</module>
<module>nacos-server-feign-api</module>
<module>nacos-server-sentinel-consumer</module>
</modules>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册