添加常量,添加日志类型

This commit is contained in:
2026-06-03 10:25:17 +08:00
parent b701a5b4d5
commit 1115b60d78
2 changed files with 13 additions and 0 deletions

View File

@@ -43,4 +43,14 @@ public interface BootCommonConstant {
*/ */
String AUTH = "x-auth"; String AUTH = "x-auth";
/**
* 获取swagger标签
*/
String GET_SWAGGER_TAG = "get-swagger-tag";
/**
* swagger标签
*/
String SWAGGER_TAG = "swagger-tag";
} }

View File

@@ -32,6 +32,8 @@ public enum LogBusBaseType implements LogBusType {
SENTINEL(50, "Sentinel"), SENTINEL(50, "Sentinel"),
// Storage // Storage
STORAGE(60, "Storage"), STORAGE(60, "Storage"),
// 操作日志
OPT_LOG(70, "OptLog"),
// Http // Http
HTTP(80, "Http工具"), HTTP(80, "Http工具"),
HTTP_REQUEST(81, "Http请求"), HTTP_REQUEST(81, "Http请求"),
@@ -99,4 +101,5 @@ public enum LogBusBaseType implements LogBusType {
public String desc() { public String desc() {
return desc; return desc;
} }
} }