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

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

@@ -6,7 +6,7 @@ import reactor.core.publisher.Mono;
/**
* Reactor上下文操作 [异步]
* @author kong
* @author click33
*
*/
public class SaReactorHolder {

View File

@@ -14,7 +14,7 @@ import cn.dev33.satoken.reactor.model.SaStorageForReactor;
/**
* Reactor上下文操作 [同步]
* @author kong
* @author click33
*
*/
public class SaReactorSyncHolder {

View File

@@ -3,7 +3,7 @@ package cn.dev33.satoken.reactor.error;
/**
* 定义 sa-token-reactor-spring-boot-starter 所有异常细分状态码
*
* @author kong
* @author click33
* @since: 2022-10-30
*/
public interface SaReactorSpringBootErrorCode {

View File

@@ -24,7 +24,7 @@ import reactor.core.publisher.Mono;
/**
* Reactor全局过滤器
* @author kong
* @author click33
*
*/
@Order(SaTokenConsts.ASSEMBLY_ORDER)

View File

@@ -16,7 +16,7 @@ import java.util.*;
/**
* Request for Reactor
* @author kong
* @author click33
*
*/
public class SaRequestForReactor implements SaRequest {

View File

@@ -9,7 +9,7 @@ import cn.dev33.satoken.context.model.SaResponse;
/**
* Response for Reactor
* @author kong
* @author click33
*
*/
public class SaResponseForReactor implements SaResponse {

View File

@@ -6,7 +6,7 @@ import cn.dev33.satoken.context.model.SaStorage;
/**
* Storage for Reactor
* @author kong
* @author click33
*
*/
public class SaStorageForReactor implements SaStorage {

View File

@@ -6,7 +6,7 @@ import cn.dev33.satoken.spring.SaPathMatcherHolder;
/**
* Sa-Token 上下文处理器 [ Spring Reactor 版本实现 ]
*
* @author kong
* @author click33
*
*/
public class SaTokenContextForSpringReactor extends SaTokenContextForThreadLocal {

View File

@@ -7,7 +7,7 @@ import cn.dev33.satoken.context.SaTokenContext;
/**
* 注册Sa-Token所需要的Bean
* <p> Bean 的注册与注入应该分开在两个文件中,否则在某些场景下会造成循环依赖
* @author kong
* @author click33
*
*/
public class SaTokenContextRegister {