feat: 连接主机终端.

This commit is contained in:
lijiahang
2024-01-03 19:54:35 +08:00
parent 195a0ba7dc
commit 63f458ac1a
27 changed files with 518 additions and 342 deletions

View File

@@ -71,4 +71,6 @@ public interface ErrorMessage {
String ANY_NO_PERMISSION = "{}无权限";
String SESSION_ABSENT = "会话不存在";
}

View File

@@ -13,6 +13,8 @@ public interface ExtraFieldConst extends FieldConst {
String TRACE_ID = "traceId";
String SESSION_ID = "sessionId";
String IDENTITY = "identity";
String GROUP_NAME = "groupName";

View File

@@ -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;