From 0ba9c340d439b0012092c10051af879c7b259871 Mon Sep 17 00:00:00 2001 From: edy Date: Wed, 24 Nov 2021 15:57:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E6=96=87=E4=B8=8B=E5=8F=91=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/RoleController.cs | 16 ++++++++++++++++ .../Learun.Application.Web.csproj | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/RoleController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/RoleController.cs index 06529906c..6b4e1e874 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/RoleController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/RoleController.cs @@ -130,5 +130,21 @@ namespace Learun.Application.Web.Areas.LR_OrganizationModule.Controllers return Success("删除成功!"); } #endregion + + #region 扩展数据 + /// + /// 获取树形数据 + /// + /// 公司主键 + /// + [HttpGet] + [AjaxOnly] + public ActionResult GetTree(string companyId) + { + var data = roleIBLL.GetTree(companyId); + return JsonResult(data); + } + + #endregion } } \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj index 3743cb21c..26ba23281 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj @@ -1,4 +1,4 @@ - + @@ -7521,11 +7521,11 @@ - False + True True 20472 / - http://localhost:20873/ + http://localhost:12345/ False False