This commit is contained in:
ky_sunl
2021-04-23 10:38:52 +00:00
parent d60155d02f
commit c2ed43238b
25 changed files with 120 additions and 118 deletions

View File

@@ -12,13 +12,13 @@ namespace Dilon.Core
/// 获取节点id
/// </summary>
/// <returns></returns>
long GetId();
string GetId();
/// <summary>
/// 获取节点父id
/// </summary>
/// <returns></returns>
long GetPid();
string GetPid();
/// <summary>
/// 设置Children
@@ -36,7 +36,7 @@ namespace Dilon.Core
/// <summary>
/// 顶级节点的父节点Id(默认0)
/// </summary>
private readonly long _rootParentId = 0L;
private readonly string _rootParentId = System.Guid.Empty.ToString().ToLower();
/// <summary>
/// 构造树节点