From 4ea3fb422f1c1af628d948eb3908b6a61f71bbdf Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 07 八月 2025 18:05:17 +0800 Subject: [PATCH] fix: 修改 --- src/services/api/dictionary.ts | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/services/api/dictionary.ts b/src/services/api/dictionary.ts index b4233ab..c48fb89 100644 --- a/src/services/api/dictionary.ts +++ b/src/services/api/dictionary.ts @@ -79,7 +79,7 @@ params: API.APIgetDictionaryDataSelectParams, options?: API.RequestConfig ) { - return request<API.SelectOptionGuidGetDictionaryDataSelectQueryResultOption[]>( + return request<API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[]>( '/api/main/dictionary/getDictionaryDataSelect', { method: 'GET', @@ -135,3 +135,18 @@ ...(options || {}), }); } + +/** 鍚屾浜哄姏璧勬簮鍦板尯瀛楀吀鏁版嵁 POST /api/main/dictionary/syncHumanResourcesAreaDictionaryData */ +export async function syncHumanResourcesAreaDictionaryData( + body: API.SyncHumanResourcesAreaDictionaryDataCommand, + options?: API.RequestConfig +) { + return request<number>('/api/main/dictionary/syncHumanResourcesAreaDictionaryData', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} -- Gitblit v1.9.1