mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-12 07:02:14 +08:00
2.5.0
This commit is contained in:
@@ -4,15 +4,19 @@ spring.application.name=website-server
|
||||
# ------- 需要改的配置 -------
|
||||
# nacos地址
|
||||
nacos.url=127.0.0.1:8848
|
||||
|
||||
# 网关内网地址
|
||||
# !!沙箱环境是提供给外部的测试环境,不能把正式环境当做沙箱环境来使用。
|
||||
gateway.url=http://localhost:8081
|
||||
# ------- 需要改的配置end -------
|
||||
|
||||
## nacos cloud配置
|
||||
spring.cloud.nacos.discovery.server-addr=${nacos.url}
|
||||
|
||||
# 测试环境
|
||||
# 页面上显示的测试环境地址
|
||||
api.url-test=http://open-test.yourdomain.com
|
||||
# 沙箱环境
|
||||
api.url-sandbox=http://localhost:8081
|
||||
# 正式环境
|
||||
api.url-sandbox=${gateway.url}
|
||||
# 页面上显示的正式环境地址
|
||||
api.url-prod=http://open.yourdomain.com
|
||||
api.pwd=doc#123
|
||||
|
Reference in New Issue
Block a user