feat: 连接主机终端.
This commit is contained in:
@@ -71,4 +71,6 @@ public interface ErrorMessage {
|
||||
|
||||
String ANY_NO_PERMISSION = "{}无权限";
|
||||
|
||||
String SESSION_ABSENT = "会话不存在";
|
||||
|
||||
}
|
||||
|
||||
@@ -13,6 +13,8 @@ public interface ExtraFieldConst extends FieldConst {
|
||||
|
||||
String TRACE_ID = "traceId";
|
||||
|
||||
String SESSION_ID = "sessionId";
|
||||
|
||||
String IDENTITY = "identity";
|
||||
|
||||
String GROUP_NAME = "groupName";
|
||||
|
||||
@@ -28,6 +28,10 @@ public enum BooleanBit {
|
||||
|
||||
private final Integer value;
|
||||
|
||||
public static BooleanBit of(boolean value) {
|
||||
return value ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
public static BooleanBit of(Integer value) {
|
||||
if (value == null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user