From cd7c48d0186d806f3898e9d773fd7b5732636b7a Mon Sep 17 00:00:00 2001 From: ndbs Date: Wed, 24 Aug 2022 14:05:26 +0800 Subject: [PATCH] =?UTF-8?q?app2.0=E6=A0=A1=E5=86=85=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/NewsApi.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs index 9fa30d0a7..41a74b72c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs @@ -20,6 +20,7 @@ namespace Learun.Application.WebApi.Modules : base("/learun/news") { Get["/list"] = GetList; + Get["/shList"] = GetshList; } @@ -85,6 +86,24 @@ namespace Learun.Application.WebApi.Modules }; return Success(jsonData); } + /// + /// 获取页面显示列表数据 + /// + /// + /// + public Response GetshList(dynamic _) + { + NoticeEntity parameter = this.GetReqData(); + var shlist = noticeIBLL.GetEntityByProcessId(parameter.ProgressId); + return Success(shlist); + } + #region 私有类 + + private class NoticeEntity + { + public string ProgressId { get; set; } + } + #endregion }