完善模型通用接口的无限层级一对一和单层级一对多

This commit is contained in:
2023-11-15 13:43:24 +08:00
parent d800987307
commit 9c03ef2bcc
145 changed files with 758 additions and 10219 deletions

View File

@@ -187,7 +187,7 @@ public static class StringExtensions
/// <summary>
/// 查找路径的上一级
/// </summary>
public static (string?, string) LastSplitOnce(this string str, char seperate)
public static (string?, string) GetParent(this string str, char seperate)
{
int n = str.LastIndexOf(seperate);
if (n > 0)