mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-22 03:27:23 +08:00
优化核心包代码注释 & 彩色日志打印
This commit is contained in:
@@ -23,7 +23,7 @@ import cn.dev33.satoken.util.SaTokenConsts;
|
||||
|
||||
/**
|
||||
* Servlet全局过滤器
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
@Order(SaTokenConsts.ASSEMBLY_ORDER)
|
||||
|
@@ -17,7 +17,7 @@ import cn.dev33.satoken.strategy.SaStrategy;
|
||||
/**
|
||||
* Sa-Token 综合拦截器,提供注解鉴权和路由拦截鉴权能力
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
* @since: 2022-8-21
|
||||
*/
|
||||
public class SaInterceptor implements HandlerInterceptor {
|
||||
|
@@ -11,7 +11,7 @@ import cn.dev33.satoken.servlet.model.SaStorageForServlet;
|
||||
/**
|
||||
* Sa-Token 上下文处理器 [ SpringMVC版本实现 ]
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SaTokenContextForSpring implements SaTokenContext {
|
||||
|
@@ -7,7 +7,7 @@ import cn.dev33.satoken.context.SaTokenContext;
|
||||
/**
|
||||
* 注册Sa-Token所需要的Bean
|
||||
* <p> Bean 的注册与注入应该分开在两个文件中,否则在某些场景下会造成循环依赖
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SaTokenContextRegister {
|
||||
|
@@ -11,7 +11,7 @@ import cn.dev33.satoken.exception.NotWebContextException;
|
||||
|
||||
/**
|
||||
* SpringMVC相关操作
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SpringMVCUtil {
|
||||
|
Reference in New Issue
Block a user