StableVersion4.3/HL_FristAidPlatform_Service/Controllers/基础数据/T_Base_MPDSController.cs

33 lines
841 B
C#

using HL_FristAidPlatform_Bussiness;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace HL_FristAidPlatform_Service.Controllers
{
/// <summary>
/// MPDS
/// </summary>
[Route("api/base/[controller]")]
[ApiController]
[ApiExplorerSettings(GroupName = "JC")]
[HiddenApiFilter.HiddenApi]
public class T_Base_MPDSController : Controller
{
T_Base_MPDSBLL mPDSBLL = new T_Base_MPDSBLL();
/// <summary>
/// 根据类型获取MPDS症状
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
[HttpGet]
[Route("GetListOfType")]
[Authorize(Roles = "GET")]
public JsonResult GetListOfType(int type)
{
return Json(mPDSBLL.GetListOfType(type));
}
}
}