import request from '@/utils/request'; // 获取项目列列表 export function getInfo(params) { return request({ url: `/scada/plcDatasource/page`, method: 'get', params, }); } export const projectInfoAdd = data => { return request({ url: `/scada/plcDatasource/add`, method: 'post', data, }); }; export const projectInfoEdit = data => { return request({ url: `/scada/plcDatasource/edit`, method: 'put', data, }); }; export const projectInfoDelete = ids => { return request({ url: `/scada/plcDatasource/${ids}`, method: 'delete', }); }; export const projectInfoGet = ids => { return request({ url: `/scada/plcDatasource/${ids}`, method: 'get', }); };