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