更新 'application.yml'

This commit is contained in:
spring-cloud 2022-11-03 16:55:56 +08:00
parent 4f889e7f61
commit 26a77307e4

View File

@ -1,12 +1,14 @@
server:
spring:
profiles: dev # 环境名称
server:
# 服务端口
port: 9000
spring:
spring:
application:
name: user-service-consumer
main:
allow-bean-definition-overriding: true
eureka:
eureka:
instance:
hostname: localhost #实例主机名称
client:
@ -15,7 +17,7 @@ eureka:
fetch-registry: true # 消费者需要注册中心的注册信息
register-with-eureka: true
feign:
feign:
client:
config:
default: