12345678910111213141516171819202122232425262728 |
- using YBEE.EQM.Core;
- namespace YBEE.EQM.Application;
- /// <summary>
- /// 字典类型
- /// </summary>
- [ApiDescriptionSettings(Name = "sys-dict-type")]
- [Route("sys/dict/type")]
- public class SysDictTypeAppService : IDynamicApiController
- {
- private readonly ISysDictTypeService _dictTypeService;
- public SysDictTypeAppService(ISysDictTypeService dictTypeService)
- {
- _dictTypeService = dictTypeService;
- }
- /// <summary>
- /// 获取所有字典类型列表
- /// </summary>
- /// <returns></returns>
- [AllowAnonymous]
- [DisableOpLog]
- public async Task<List<SysDictTypeOutput>> GetAllList()
- {
- return await _dictTypeService.GetAllList();
- }
- }
|