| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取用户账号详情 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, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 重置密码 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, |