Browse Source

app2.0校内通知接口

临城职教中职
ndbs 2 years ago
parent
commit
cd7c48d018
1 changed files with 19 additions and 0 deletions
  1. +19
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs

+ 19
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs View File

@@ -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);
}
/// <summary>
/// 获取页面显示列表数据
/// <summary>
/// <param name="_"></param>
/// <returns></returns>
public Response GetshList(dynamic _)
{
NoticeEntity parameter = this.GetReqData<NoticeEntity>();
var shlist = noticeIBLL.GetEntityByProcessId(parameter.ProgressId);
return Success(shlist);
}
#region 私有类

private class NoticeEntity
{
public string ProgressId { get; set; }
}
#endregion

}


Loading…
Cancel
Save