|
|
@@ -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 |
|
|
|
|
|
|
|
} |
|
|
|
|