From 4d1ddaa568fe00fafe02c7cd40f41244cd2e6db8 Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Sat, 20 Aug 2022 13:57:08 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=9B=B4=E6=96=B0=20properties=20?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=9A=84=20README=20=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo-base/demo-base-properties/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo-base/demo-base-properties/README.md b/demo-base/demo-base-properties/README.md index 7020d80..6b4625e 100644 --- a/demo-base/demo-base-properties/README.md +++ b/demo-base/demo-base-properties/README.md @@ -127,6 +127,6 @@ developer: ### 2.测试 -1. 启动 `PropertiesApplication.java` ; +1. 启动 `PropertiesApplication` ; 2. 打开任意浏览器,输入 `http://localhost:8080/demo/property` ,检查输出结果; 3. 将 `application.yml` 配置文件中的 `spring.profiles.active` 参数从 `prod` 修改为 `dev` ,重新启动,观察输出结果变化。