feat: 连接主机.

This commit is contained in:
lijiahang
2023-12-26 18:29:42 +08:00
parent ad914eb7bb
commit c0982bfc2c
16 changed files with 423 additions and 32 deletions

View File

@@ -17,17 +17,17 @@ public enum DataPermissionTypeEnum {
/**
* 主机分组
*/
HOST_GROUP(true),
HOST_GROUP(true, "主机"),
/**
* 主机秘钥
*/
HOST_KEY(true),
HOST_KEY(true, "主机秘钥"),
/**
* 主机身份
*/
HOST_IDENTITY(true),
HOST_IDENTITY(true, "主机身份"),
;
@@ -36,6 +36,11 @@ public enum DataPermissionTypeEnum {
*/
private final boolean toRole;
/**
* 权限名称
*/
private final String permissionName;
public static DataPermissionTypeEnum of(String type) {
if (type == null) {
return null;