zhengyiming
2025-03-21 6a5d66d21df56c4549648b259609419e357e9470
packages/services/api/UserRole.ts
@@ -86,6 +86,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,