| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 获取字典数据分页列表 GET /api/main/dictionary/getDictionaryDatas */ |
| | | export async function dictionaryGetDictionaryDatas( |
| | | /** 此处后端没有提供注释 POST /api/main/dictionary/getDictionaryDatas */ |
| | | export async function getDictionaryDatas( |
| | | body: API.GetDictionaryDatasQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetDictionaryDatasQueryResult>('/api/main/dictionary/getDictionaryDatas', { |
| | | method: 'GET', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | return request<API.PagedListQueryResultGetDictionaryDatasQueryResultItem>( |
| | | '/api/main/dictionary/getDictionaryDatas', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |