Skip to content

Commit e4a3f10

Browse files
committed
admin security 添加文档
1 parent c397d5d commit e4a3f10

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

security-spring-boot-starter/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ curl --location 'http://localhost:8080/login' \
9191
```yaml
9292
admin4j:
9393
security:
94+
ignoring:
95+
uris: "login/sendPhoneCode"
9496
multi:
9597
auth-map:
9698
phone: phoneNumber
@@ -102,6 +104,7 @@ auth-map 为渠道登录登录方式配置。对象类型,key为 登录方式
102104

103105
- 登录方式 (`authType`) : `phone`
104106
- 登录认证的字段名称: `phoneNumber`
107+
- ignoring.uris 忽略认证的接口。需要将发送验证码接口,忽略认证。
105108

106109
前端登录接口案例:`/login/phone` (/login/authType)
107110

0 commit comments

Comments
 (0)