using JiShe.IoT.CommonServices; using JiShe.IoT.CommonServices.Dto; using JiShe.ServicePro.Commons; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JiShe.IoT.Controllers { [Route("Common")] public class CommonController:IoTController { private readonly ICommonService _commonService; public CommonController(ICommonService commonService) { _commonService = commonService; } /// /// 根据type名称获取下拉框数据 /// /// /// [HttpGet("GetSelectList")] [SwaggerOperation(summary: "根据type名称获取下拉框数据", Tags = new[] { "Common" })] public List GetSelectResultList(SelectResultListInput input) { return _commonService.GetSelectResultList(input); } } }