From 07fd808ac4d127e4ac64c96987a264c492883ea2 Mon Sep 17 00:00:00 2001 From: applesline Date: Fri, 21 Jan 2022 07:07:53 +0000 Subject: [PATCH] update README.md. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 63bbba9..edccc03 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ #### 三、快速入门 -1. 添加依赖 +##### 1. 添加依赖 ``` io.github.applesline @@ -23,7 +23,7 @@ 1.0.0-SNAPSHOT ``` -2. 打开脱敏开关 @EnableDesensitize +##### 2. 打开脱敏开关 @EnableDesensitize ``` import org.applesline.desensitize.annotation.EnableDesensitize; import org.springframework.boot.SpringApplication; @@ -39,7 +39,7 @@ public class DemoApplication { } ``` -3. 针对方法的局部脱敏 @Desensitize +##### 3. 针对方法的局部脱敏 @Desensitize ``` @RequestMapping("queryResult") @Desensitize(fieldMapping = @FieldMapping(fields = {"_mobile"},type = DesensitizeType.MOBILE)) @@ -48,7 +48,7 @@ public class DemoApplication { } ``` -4. 脱敏效果展示(响应体中的_mobile字段被脱敏了) +##### 4. 脱敏效果展示(响应体中的_mobile字段被脱敏了) ``` { "_email": "123456789@163.com",