feat: sa-token-quick-login 插件支持 Http Basic 方式通过认证

This commit is contained in:
click33
2025-04-02 02:54:50 +08:00
parent 18ab60d4d2
commit a7f178da53
8 changed files with 223 additions and 28 deletions

View File

@@ -114,6 +114,12 @@ public class TestController {
![登录](https://oss.dev33.cn/sa-token/doc/sa-quick-login-index.png 's-w')
也可以通过 Http Basic 的方式直接进行认证 (一般需要在专门的 API 测试工具下才能正常测试,浏览器会自动忽略@之前的信息)
``` url
http://sa:123456@localhost:8081/
```
### 可配置信息
你可以在yml中添加如下配置 (所有配置都是可选的)