/**
 *  权限接口
 */
import request from '@/utils/request'
// 获取主机列表
export const getHostList = (params) => request.basic.get('/api/v1/power-hosts', params)
// 删除主机列表
export const delHost = (id) => request.basic.delete(`/api/v1/power-hosts/${id}`)
// 编辑主机列表
export const updateHost = (id, params) => request.basic.put(`/api/v1/power-hosts/${id}`, params)
// 获取主机详情
export const getHostDetail = (id) => request.basic.delete(`/api/v1/power-hosts//${id}`)
