Skip to content

Commit 708ed77

Browse files
committed
update title
1 parent 513a1e0 commit 708ed77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/_posts/Sentinel入门.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ cover: true
4444
* 控制台(Dashboard)基于 Spring Boot 开发,打包后可以直接运行,不需要额外的 Tomcat 等应用容器。
4545

4646
## 快速开始
47+
4748
### 1.添加pom依赖
4849
```
4950
<dependency>
@@ -54,7 +55,7 @@ cover: true
5455
```
5556
>注意: 从 Sentinel 1.5.0 开始仅支持 JDK 1.7 或者以上版本。Sentinel 1.5.0 之前的版本最低支持 JDK 1.6。
5657
57-
## 2.定义资源
58+
### 2.定义资源
5859
接下来,我们把需要控制流量的代码用 Sentinel API SphU.entry("HelloWorld") 和 entry.exit() 包围起来即可。
5960
```
6061
public static void main(String[] args) {

0 commit comments

Comments
 (0)