SysDictTypeAppService.cs 544 B

12345678910111213141516171819202122
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 字典类型
  5. /// </summary>
  6. [ApiDescriptionSettings(Name = "sys-dict-type")]
  7. [Route("sys/dict/type")]
  8. public class SysDictTypeAppService(ISysDictTypeService dictTypeService) : IDynamicApiController
  9. {
  10. /// <summary>
  11. /// 获取所有字典类型列表
  12. /// </summary>
  13. /// <returns></returns>
  14. [AllowAnonymous]
  15. [DisableOpLog]
  16. public async Task<List<SysDictTypeOutput>> GetAllList()
  17. {
  18. return await dictTypeService.GetAllList();
  19. }
  20. }