import request from '@/utils/request' // 查询轮播图列表 export function listChart(query) { return request({ url: '/laboratory/chart/list', method: 'get', params: query }) } // 查询轮播图详细 export function getChart(id) { return request({ url: '/laboratory/chart/' + id, method: 'get' }) } // 新增轮播图 export function addChart(data) { return request({ url: '/laboratory/chart', method: 'post', data: data }) } // 修改轮播图 export function updateChart(data) { return request({ url: '/laboratory/chart', method: 'put', data: data }) } // 删除轮播图 export function delChart(id) { return request({ url: '/laboratory/chart/' + id, method: 'delete' }) } // 新增轮播图 export function editRotationType(id) { return request({ url: '/laboratory/chart/editRotationType/'+id, method: 'put', }) }