|
|
@@ -28,6 +28,8 @@ namespace Learun.Application.WebApi |
|
|
|
Get["/form"] = GetForm; |
|
|
|
Post["/delete"] = DeleteForm; |
|
|
|
Post["/save"] = SaveForm; |
|
|
|
Post["/read"] = NewsRead; |
|
|
|
|
|
|
|
} |
|
|
|
#region 获取数据 |
|
|
|
|
|
|
@@ -112,6 +114,17 @@ namespace Learun.Application.WebApi |
|
|
|
sys_ReceiveFileIBLL.SaveEntity(this.userInfo, parameter.keyValue, entity); |
|
|
|
return Success("保存成功!"); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 查阅公文 |
|
|
|
/// <summary> |
|
|
|
/// <returns></returns> |
|
|
|
public Response NewsRead(dynamic _) |
|
|
|
{ |
|
|
|
ReqFormEntity parameter = this.GetReqData<ReqFormEntity>(); |
|
|
|
sys_ReceiveFileIBLL.ReadEntity(parameter.keyValue); |
|
|
|
return Success("查阅成功!"); |
|
|
|
} |
|
|
|
#endregion |
|
|
|
|
|
|
|
#region 私有类 |
|
|
|