mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-13 13:01:41 +08:00
feat(web): 新增链路跟踪自动配置
基于 TLog(轻量级的分布式日志标记追踪神器),并适配 Spring Boot 3.x
This commit is contained in:
@@ -52,6 +52,16 @@ public class PropertiesConstants {
|
||||
*/
|
||||
public static final String SPRINGDOC_SWAGGER_UI = SPRINGDOC + ".swagger-ui";
|
||||
|
||||
/**
|
||||
* 安全配置
|
||||
*/
|
||||
public static final String SECURITY = CONTINEW_STARTER + ".security";
|
||||
|
||||
/**
|
||||
* 密码编解码配置
|
||||
*/
|
||||
public static final String PASSWORD = SECURITY + ".password";
|
||||
|
||||
/**
|
||||
* Web 配置
|
||||
*/
|
||||
@@ -62,6 +72,11 @@ public class PropertiesConstants {
|
||||
*/
|
||||
public static final String CORS = WEB + ".cors";
|
||||
|
||||
/**
|
||||
* 链路配置
|
||||
*/
|
||||
public static final String TRACE = WEB + ".trace";
|
||||
|
||||
/**
|
||||
* 日志配置
|
||||
*/
|
||||
@@ -91,9 +106,4 @@ public class PropertiesConstants {
|
||||
* 行为验证码配置
|
||||
*/
|
||||
public static final String CAPTCHA_BEHAVIOR = CAPTCHA + ".behavior";
|
||||
|
||||
/**
|
||||
* 密码编解码配置
|
||||
*/
|
||||
public static final String PASSWORD_ENCODER = CONTINEW_STARTER + ".password-encoder";
|
||||
}
|
||||
|
@@ -63,4 +63,9 @@ public class StringConstants implements StrPool {
|
||||
* 路径模式
|
||||
*/
|
||||
public static final String PATH_PATTERN = "/**";
|
||||
|
||||
/**
|
||||
* 路径模式(仅匹配当前目录)
|
||||
*/
|
||||
public static final String PATH_PATTERN_CURRENT_DIR = "/*";
|
||||
}
|
||||
|
Reference in New Issue
Block a user