优化核心包代码注释 & 彩色日志打印

This commit is contained in:
click33
2023-05-08 13:47:59 +08:00
parent 31476cb5a0
commit 21edf27743
383 changed files with 2832 additions and 2033 deletions

View File

@@ -7,7 +7,7 @@ import cn.dev33.satoken.SaManager;
/**
* Sa-Token 整合 WebSocket 鉴权示例
* @author kong
* @author click33
*
*/
@SpringBootApplication

View File

@@ -8,7 +8,7 @@ import cn.dev33.satoken.util.SaResult;
/**
* 登录测试
* @author kong
* @author click33
*
*/
@RestController

View File

@@ -11,7 +11,7 @@ import org.springframework.web.socket.handler.TextWebSocketHandler;
/**
* 处理 WebSocket 连接
*
* @author kong
* @author click33
* @since: 2022-2-11
*/
public class MyWebSocketHandler extends TextWebSocketHandler {

View File

@@ -8,7 +8,7 @@ import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry
/**
* WebSocket 相关配置
*
* @author kong
* @author click33
* @since: 2022-2-11
*/
@Configuration

View File

@@ -12,7 +12,7 @@ import cn.dev33.satoken.stp.StpUtil;
/**
* WebSocket 握手的前置拦截器
*
* @author kong
* @author click33
* @since: 2022-2-11
*/
public class WebSocketInterceptor implements HandshakeInterceptor {