mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Update nacos-config.adoc
This commit is contained in:
parent
fc4f1dae84
commit
967705985a
@ -272,6 +272,3 @@ in product-env enviroment; user name :nacos-config-yaml-update; age: 68
|
||||
----
|
||||
|
||||
NOTE: 此案例中我们通过 `spring.profiles.active=****` 的方式写死在配置文件中,而在真正的项目实施过程中这个变量的值是需要不同环境而有不同的值。这个时候通常的做法是通过 `-Dspring.profiles.active=****` 参数指定其配置来达到环境间灵活的切换。
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user