This commit is contained in:
owenchen committed 2026-09-02 08:28:45 +08:00
1 parent b26bcfcd3b
commit 8285fb4090
9 files changed
+1372 -20

No files matched your search

@@ -29,6 +29,26 @@ this.familyTreeService= familyTreeService;
}
[PermissionOperate(name: "FamilyTree", operate: "Find")]
[HttpPost]
public dynamic FindAllByTreeId(string treeId)
{
try
{
var result = familyTreeService.FindAllByTreeId(treeId);
return result;
}
catch (ValidatedException vex)
{
return vex;
}
catch (Exception ex)
{
return new ServiceErrorException(ex);
}
}
[PermissionOperate(name: "FamilyTree", operate: "Find")]
[HttpPost]
public dynamic FindByKey(string key)
{