This commit is contained in:
@@ -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>
|
||||
/// 构造树节点
|
||||
|
||||
Reference in New Issue
Block a user