From 848b21bacd06c45ee16d8522acbce800df57b3a6 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 31 三月 2025 18:32:50 +0800 Subject: [PATCH] fix: 四期需求 --- packages/services/api/UserRole.ts | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/packages/services/api/UserRole.ts b/packages/services/api/UserRole.ts index 37b6b26..f23690d 100644 --- a/packages/services/api/UserRole.ts +++ b/packages/services/api/UserRole.ts @@ -59,6 +59,14 @@ }); } +/** 鑾峰彇鐢ㄦ埛璐﹀彿璇︽儏 GET /api/UserRole/GetBackClientUserInfo */ +export async function getBackClientUserInfo(options?: API.RequestConfig) { + return request<API.BackClientUserInfoOutput>('/api/UserRole/GetBackClientUserInfo', { + method: 'GET', + ...(options || {}), + }); +} + /** 鍚庡彴绠$悊璐︽埛鍒楄〃 POST /api/UserRole/GetBackClientUsers */ export async function getBackClientUsers( body: API.GetBackClientUsersInput, @@ -86,6 +94,21 @@ }); } +/** 閲嶇疆瀵嗙爜 POST /api/UserRole/ResetUserPassword */ +export async function resetUserPassword( + body: API.ResetPasswordBaseInput, + options?: API.RequestConfig +) { + return request<number>('/api/UserRole/ResetUserPassword', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 瑙掕壊鍚敤/绂佺敤 POST /api/UserRole/RoleEnableOrForbid */ export async function roleEnableOrForbid( body: API.RoleEnableOrForbidInput, -- Gitblit v1.9.1