feat: satoken修改

This commit is contained in:
2026-06-22 14:48:14 +08:00
parent 9a2dd66df4
commit 4c3e3717eb
2 changed files with 5 additions and 3 deletions

View File

@@ -37,8 +37,7 @@ public class SseController {
/**
* 建立 SSE 订阅连接
*
* 需要登录鉴权Sa-Token 自动校验)。
* EventSource API 不支持自定义请求头token 通过 URL 查询参数 ?token=xxx 传递。
* 需要登录鉴权Sa-Token 通过 Cookie 自动校验EventSource 同域请求自动携带)。
*
* @return SseEmitter 实例30 分钟超时)
*/