mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-27 02:59:02 +08:00
feat: sa-token-quick-login 插件支持 Http Basic 方式通过认证
This commit is contained in:
@@ -114,6 +114,12 @@ public class TestController {
|
||||
|
||||

|
||||
|
||||
也可以通过 Http Basic 的方式直接进行认证 (一般需要在专门的 API 测试工具下才能正常测试,浏览器会自动忽略@之前的信息)
|
||||
|
||||
``` url
|
||||
http://sa:123456@localhost:8081/
|
||||
```
|
||||
|
||||
|
||||
### 可配置信息
|
||||
你可以在yml中添加如下配置 (所有配置都是可选的)
|
||||
|
||||
Reference in New Issue
Block a user