From 20459fe59f680031bfc7c1012be860e0727cb016 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 05 八月 2025 17:47:09 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobAdmin --- src/services/api/dictionary.ts | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/services/api/dictionary.ts b/src/services/api/dictionary.ts index 3d209df..961750b 100644 --- a/src/services/api/dictionary.ts +++ b/src/services/api/dictionary.ts @@ -2,17 +2,20 @@ // @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 || {}), + } + ); } -- Gitblit v1.9.1