适配eureka

This commit is contained in:
tanghc
2019-09-27 20:15:51 +08:00
parent 35253be77d
commit c5d36a8200
8 changed files with 16 additions and 47 deletions

View File

@@ -9,18 +9,8 @@ mysql.password=root
# nacos注册中心地址
nacos.url=127.0.0.1:8848
# 网关地址,多个用逗号隔开
# 在不使用nacos时有用使用nacos时注释掉
gateway.host=127.0.0.1:8081
# ------- 需要改的配置end -------
# eureka注册中心
eureka.client.serviceUrl.defaultZone=http://localhost:1111/eureka/
# 如果使用eureka填eureka使用nacos填eureka
registry.name=eureka
# token过期时间分钟
admin.access-token.timeout-minutes=30
# 签名方式rsa支付宝开放平台签名方式md5淘宝开放平台签名方式