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

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

@@ -16,7 +16,7 @@ import org.springframework.stereotype.Component;
/**
* 跨域过滤器
* @author kong
* @author click33
*/
@Component
@Order(-200)

View File

@@ -13,7 +13,7 @@ import cn.dev33.satoken.util.SaResult;
/**
* 前后台分离架构下集成SSO所需的代码 SSO-Server端
* <p>如果不需要前后端分离架构下集成SSO可删除此包下所有代码</p>
* @author kong
* @author click33
*
*/
@RestController

View File

@@ -7,7 +7,7 @@ import cn.dev33.satoken.util.SaResult;
/**
* 全局异常处理
* @author kong
* @author click33
*
*/
@RestControllerAdvice

View File

@@ -14,7 +14,7 @@ import org.springframework.web.servlet.ModelAndView;
/**
* Sa-Token-SSO Server端 Controller
* @author kong
* @author click33
*
*/
@RestController

View File

@@ -5,7 +5,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* SSO模式一Client端 Demo
* @author kong
* @author click33
*
*/
@SpringBootApplication

View File

@@ -10,7 +10,7 @@ import cn.dev33.satoken.util.SaResult;
/**
* Sa-Token-SSO Client端 Controller
* @author kong
* @author click33
*/
@RestController
public class SsoClientController {

View File

@@ -16,7 +16,7 @@ import org.springframework.stereotype.Component;
/**
* 跨域过滤器
* @author kong
* @author click33
*/
@Component
@Order(-200)

View File

@@ -12,7 +12,7 @@ import cn.dev33.satoken.util.SaResult;
/**
* 前后台分离架构下集成SSO所需的代码 SSO-Client端
* <p>如果不需要前后端分离架构下集成SSO可删除此包下所有代码</p>
* @author kong
* @author click33
*
*/
@RestController

View File

@@ -10,7 +10,7 @@ import cn.dev33.satoken.util.SaResult;
/**
* Sa-Token-SSO Client端 Controller
* @author kong
* @author click33
*/
@RestController
public class SsoClientController {

View File

@@ -17,7 +17,7 @@ import com.pj.sso.util.MyHttpSessionHolder;
/**
* SSO Client端 Controller
* @author kong
* @author click33
*/
@RestController
public class SsoClientController {

View File

@@ -12,7 +12,7 @@ import com.pj.sso.util.AjaxJson;
/**
* 封装一些 sso 共用方法
*
* @author kong
* @author click33
* @since: 2022-4-30
*/
public class SsoRequestUtil {

View File

@@ -14,7 +14,7 @@ import org.springframework.stereotype.Component;
*
* <b> 此种方式有性能问题仅做demo示例真实项目中请更换为其它方案记录用户会话数据 </b>
*
* @author kong
* @author click33
* @since: 2022-4-30
*/
@Component

View File

@@ -16,7 +16,7 @@ import java.util.Map;
/**
* Sa-Token-SSO Client端 Controller
* @author kong
* @author click33
*/
@RestController
public class SsoClientController {