update 优化 放行 sse 关闭接口

This commit is contained in:
疯狂的狮子Li
2024-07-29 14:12:06 +08:00
parent 19b95040cd
commit 7783a0d640
2 changed files with 1 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
package org.dromara.common.sse.controller;
import cn.dev33.satoken.annotation.SaIgnore;
import cn.dev33.satoken.stp.StpUtil;
import lombok.RequiredArgsConstructor;
import org.dromara.common.core.domain.R;
@@ -27,7 +26,6 @@ public class SseController {
return sseEmitterManager.connect(userId, tokenValue);
}
@SaIgnore
@GetMapping(value = "${sse.path}/close")
public R<Void> close() {
String tokenValue = StpUtil.getTokenValue();