From 9d8ef3a592b3102c8d4133e601b31aacb91866f6 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 05 八月 2025 10:34:54 +0800 Subject: [PATCH] fix: 修改功能模块 --- src/services/api/dictionary.ts | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/services/api/dictionary.ts b/src/services/api/dictionary.ts index 8ceca42..2ffaa0f 100644 --- a/src/services/api/dictionary.ts +++ b/src/services/api/dictionary.ts @@ -2,17 +2,20 @@ // @ts-ignore import { request } from '@/utils/request'; -/** 鑾峰彇瀛楀吀鏁版嵁鍒嗛〉鍒楄〃 POST /api/main/dictionary/getDictionaryDatas */ +/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/main/dictionary/getDictionaryDatas */ export async function getDictionaryDatas( body: API.GetDictionaryDatasQuery, options?: API.RequestConfig ) { - return request<API.GetDictionaryDatasQueryResult>('/api/main/dictionary/getDictionaryDatas', { - method: 'POST', - 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