import { instance } from '../request/http' // 暂时无接口 // 列表 const listPage = (str, data) => { return instance.post(`/serviceInfo/listPage?${str}`, data) } // 服务不分页 const O_list = () => { return instance.post(`/serviceInfo/list`, {}) } const O_add = (data) => { return instance.post('/serviceInfo/add', data) } // 更新 const O_update = (data) => { return instance.post('/serviceInfo/update', data) } // 删除 const O_delete = (data) => { return instance.post('/serviceInfo/delete', data) } // 批量删除 const O_batchDelete = (data) => { return instance.post('/serviceInfo/batchDelete', data) } export { O_update, O_batchDelete, O_delete, O_add, listPage , O_list }