From a6d873f75b70ab5e1dc4a1e5fa610eddc7c9274e Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 17 十月 2025 18:30:23 +0800 Subject: [PATCH] fix: 简历 --- packages/services/apiV2/user.ts | 72 +++++++++++++++++++++++++++--------- 1 files changed, 54 insertions(+), 18 deletions(-) diff --git a/packages/services/apiV2/user.ts b/packages/services/apiV2/user.ts index 10561c9..e62b980 100644 --- a/packages/services/apiV2/user.ts +++ b/packages/services/apiV2/user.ts @@ -17,24 +17,6 @@ }); } -/** 鏌ヨ杩愯惀绔敤鎴峰垎椤靛垪琛ㄦ暟鎹� POST /api/user/user/getOperationUserInfos */ -export async function getOperationUserInfos( - body: API.GetOperationUserInfosQuery, - options?: API.RequestConfig -) { - return request<API.PagedListQueryResultGetOperationUserInfosQueryResultItem>( - '/api/user/user/getOperationUserInfos', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json-patch+json', - }, - data: body, - ...(options || {}), - } - ); -} - /** 鏌ヨ涓汉鐢ㄦ埛閾惰鍗′俊鎭� GET /api/user/user/getPersonalUserBankCard */ export async function getPersonalUserBankCard( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -137,6 +119,21 @@ ); } +/** 鏌ヨ鐢ㄦ埛璇︽儏 GET /api/user/user/getUser */ +export async function getUser( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetUserParams, + options?: API.RequestConfig +) { + return request<API.GetUserQueryResult>('/api/user/user/getUser', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + /** 鏌ヨ鐢ㄦ埛瑙掕壊鍒楄〃 GET /api/user/user/getUserInfoRoles */ export async function getUserInfoRoles( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -152,6 +149,33 @@ }); } +/** 鏌ヨ鐢ㄦ埛鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/user/getUsers */ +export async function getUsers(body: API.GetUsersQuery, options?: API.RequestConfig) { + return request<API.GetOperationUserInfosQueryResult>('/api/user/user/getUsers', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 閲嶇疆鐢ㄦ埛瀵嗙爜 POST /api/user/user/resetUserPasswords */ +export async function resetUserPasswords( + body: API.ResetUserPasswordsCommand, + options?: API.RequestConfig +) { + return request<number>('/api/user/user/resetUserPasswords', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + /** 淇濆瓨鐢ㄦ埛閾惰鍗′俊鎭� POST /api/user/user/savePersonalUserBankCard */ export async function savePersonalUserBankCard( body: API.SavePersonalUserBankCardCommand, @@ -167,6 +191,18 @@ }); } +/** 淇濆瓨鐢ㄦ埛 POST /api/user/user/saveUser */ +export async function saveUser(body: API.SaveUserCommand, options?: API.RequestConfig) { + return request<string>('/api/user/user/saveUser', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + /** 鍙戦�佺粦瀹氶摱琛屽崱鐭俊 POST /api/user/user/sendSavePersonalUserBankCardVerifyCode */ export async function sendSavePersonalUserBankCardVerifyCode( body: API.SendSavePersonalUserBankCardVerifyCodeCommand, -- Gitblit v1.9.1