wupengfei
8 天以前 bd20a385dd86cf32735578c4c140a0aebf758e45
src/services/api/UserRole.ts
@@ -17,6 +17,21 @@
  });
}
/** 政务端一系统配置一创建政务端用户 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', {
@@ -131,6 +146,21 @@
  });
}
/** 政务端一系统配置一编辑政务端账户 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', {