import request from '@u/request' // 获取当前机器参数列表 export const getFullList = () => { return request({ url: '/api/sysComputerParam/getFullList', method: 'get' }) } // 根据参数名列表获取对应的参数值 export const getListByNames = ({ nameList }:{nameList:number}) => { const data = { nameList } return request({ url: '/api/sysComputerParam/getListByNames', method: 'get', data: data }) } // 新增或者修改保存 export const saveComputerParam = (data:object) => { return request({ url: '/api/sysComputerParam/save', method: 'post', data: data }) }