| | |
| | | namespace FlexJobApi.Application |
| | | { |
| | | /// <summary> |
| | | /// 资源 |
| | | /// 数据字典 |
| | | /// </summary> |
| | | [Route("api/main/[controller]")] |
| | | public class DictionaryAppService(IMediator mediator) : IDynamicApiController |
| | |
| | | /// </summary> |
| | | /// <param name="query"></param> |
| | | /// <returns></returns> |
| | | public Task<GetDictionaryDatasQueryResult> GetDictionaryDatas([FromQuery] GetDictionaryDatasQuery query) |
| | | [HttpPost] |
| | | public Task<GetDictionaryDatasQueryResult> GetDictionaryDatas([FromBody] GetDictionaryDatasQuery query) |
| | | { |
| | | return mediator.Send(query); |
| | | } |