| | |
| | | }); |
| | | } |
| | | |
| | | /** 政务端一系统配置一创建政务端用户 POST /api/UserRole/CreateGovermentClientUser */ |
| | | export async function createGovermentClientUser( |
| | | body: API.CreateGoverUserInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/UserRole/CreateGovermentClientUser', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 新增角色 POST /api/UserRole/CreateRole */ |
| | | export async function createRole(body: API.CreateBaseRoleInput, options?: API.RequestConfig) { |
| | | return request<string>('/api/UserRole/CreateRole', { |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 政务端一系统配置一编辑政务端账户 POST /api/UserRole/UpdateGovermentClientUser */ |
| | | export async function updateGovermentClientUser( |
| | | body: API.UpdateGovermentClientUserInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/UserRole/UpdateGovermentClientUser', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 角色编辑 POST /api/UserRole/UpdateRole */ |
| | | export async function updateRole(body: API.CreateOrUpdateRoleInput, options?: API.RequestConfig) { |
| | | return request<number>('/api/UserRole/UpdateRole', { |