mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-10 20:57:18 +08:00
refactor: 优化部分代码
1.修复 Sonar 扫描问题 2.使用常量替代部分魔法值
This commit is contained in:
@@ -42,6 +42,16 @@ public class PropertiesConstants {
|
||||
*/
|
||||
public static final String THREAD_POOL = CONTINEW_STARTER + ".thread-pool";
|
||||
|
||||
/**
|
||||
* Spring Doc 配置
|
||||
*/
|
||||
public static final String SPRINGDOC = "springdoc";
|
||||
|
||||
/**
|
||||
* Spring Doc Swagger UI 配置
|
||||
*/
|
||||
public static final String SPRINGDOC_SWAGGER_UI = SPRINGDOC + ".swagger-ui";
|
||||
|
||||
/**
|
||||
* Web 配置
|
||||
*/
|
||||
|
Reference in New Issue
Block a user