import { httpApi } from '../../../request/httpApi'

//实验树
export const getTreeAll = (form, msg = true) => httpApi({
    url: '/api/blade-manager/trial/tree-all',
    method: 'get',
    params: form,
}, msg)

//新增或修改
export const submitTree = (form, msg = true) => httpApi({
    url: '/api/blade-manager/trial/submit',
    method: 'post',
    data: form,
}, msg)

//删除节点
export const removeTree = (form, msg = true) => httpApi({
    url: '/api/blade-manager/trial/remove',
    method: 'get',
    params: form,
}, msg)
