Commit 37f00eca by ryun

接口定义

parent 33f085c7
......@@ -5,6 +5,7 @@
using Microsoft.AspNetCore.StaticFiles;
using Newtonsoft.Json;
using Performance.DtoModels;
using Performance.DtoModels.Request;
using Performance.DtoModels.Response;
using Performance.EntityModels;
using Performance.Infrastructure;
......@@ -1167,5 +1168,56 @@ public IActionResult DownloadGatherFile(string path)
return File(memoryStream, memi, Path.GetFileName(fileInfo.Name));
}
#endregion
#region 医院其他绩效类型
/// <summary>
/// 医院其他绩效类型清单
/// </summary>
/// <param name="allotId"></param>
/// <returns></returns>
[Route("apr/type/list/{allotId}")]
[HttpPost]
public ApiResponse GetAprTypeList([FromRoute] int allotId)
{
return new ApiResponse(ResponseType.OK);
}
/// <summary>
/// 医院其他绩效列表清单
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[Route("apr/type/insert")]
[HttpPost]
public ApiResponse InsertAprType([FromBody] AprTypeRequest request)
{
return new ApiResponse(ResponseType.OK);
}
/// <summary>
/// 医院其他绩效列表清单
/// </summary>
/// <param name="typeId"></param>
/// <param name="request"></param>
/// <returns></returns>
[Route("apr/type/update")]
[HttpPost]
public ApiResponse UpdateAprType([FromQuery] int typeId, [FromBody] AprTypeRequest request)
{
return new ApiResponse(ResponseType.OK);
}
/// <summary>
/// 医院其他绩效列表清单
/// </summary>
/// <param name="typeId"></param>
/// <returns></returns>
[Route("apr/type/delete")]
[HttpPost]
public ApiResponse DeleteAprType([FromQuery] int typeId)
{
return new ApiResponse(ResponseType.OK);
}
#endregion
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Performance.DtoModels.Request
{
public class AprTypeRequest
{
public int AllotId { get; set; }
public string PerforType { get; set; }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment