From 2b850929d9b6bb772da9c11b231a1c9a59c7cb54 Mon Sep 17 00:00:00 2001 From: tanghc Date: Mon, 28 Oct 2019 14:28:54 +0800 Subject: [PATCH] 2.5.0 --- .../src/main/resources/application-dev.properties | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sop-website/src/main/resources/application-dev.properties b/sop-website/src/main/resources/application-dev.properties index 2fc10b3d..72235474 100644 --- a/sop-website/src/main/resources/application-dev.properties +++ b/sop-website/src/main/resources/application-dev.properties @@ -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