Skip to content

Commit d1ae25d

Browse files
author
Carpe-Wang
committed
修复少数md格式
1 parent 1fab1b3 commit d1ae25d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

note/Spring.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,11 @@ protected ConfigurableEnvironment createEnvironment() {
220220

221221
![Environment继承体系](images/Environment.jpg)
222222

223-
Environmen接口**代表了当前应用所处的环境。**从此接口的方法可以看出,其主要和profile、Property相关。
223+
Environmen接口**代表了当前应用所处的环境。** 从此接口的方法可以看出,其主要和profile、Property相关。
224224

225225
##### Profile
226226

227-
Spring Profile特性是从3.1开始的,其主要是为了解决这样一种问题: 线上环境和测试环境使用不同的配置或是数据库或是其它。有了Profile便可以在 不同环境之间无缝切换。**Spring容器管理的所有bean都是和一个profile绑定在一起的。**使用了Profile的配置文件示例:
227+
Spring Profile特性是从3.1开始的,其主要是为了解决这样一种问题: 线上环境和测试环境使用不同的配置或是数据库或是其它。有了Profile便可以在 不同环境之间无缝切换。**Spring容器管理的所有bean都是和一个profile绑定在一起的。** 使用了Profile的配置文件示例:
228228

229229
```xml
230230
<beans profile="develop">

0 commit comments

Comments
 (0)