添加常量,添加日志类型
This commit is contained in:
@@ -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";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user