|
|
|
@ -2,14 +2,12 @@ server.port=8083 |
|
|
|
|
spring.application.name=website-server |
|
|
|
|
|
|
|
|
|
# ------- 需要改的配置 ------- |
|
|
|
|
eureka.url=http://localhost:1111/eureka/ |
|
|
|
|
# nacos地址 |
|
|
|
|
nacos.url=127.0.0.1:8848 |
|
|
|
|
# ------- 需要改的配置end ------- |
|
|
|
|
|
|
|
|
|
# eureka注册中心 |
|
|
|
|
eureka.client.serviceUrl.defaultZone=${eureka.url} |
|
|
|
|
|
|
|
|
|
## nacos cloud配置 |
|
|
|
|
#spring.cloud.nacos.discovery.server-addr=${nacos.url} |
|
|
|
|
spring.cloud.nacos.discovery.server-addr=${nacos.url} |
|
|
|
|
|
|
|
|
|
# 测试环境 |
|
|
|
|
api.url-test=http://open-test.yourdomain.com |
|
|
|
|