<reponame>ibyte2011/LaserDB<filename>control/frontend/src/api/machine_category.js<gh_stars>10-100
import request from '@/utils/request'

export function ListMachineCategory(params) { return request({ url: '/machine_category/list', method: 'get', params }) }

export function AddMachineCategory(category) { return request({ url: '/machine_category/store', method: 'post', data: category }) }

export function UpdateMachineCategory(category) { return request({ url: '/machine_category/update', method: 'post', data: category }) }

export function DeleteMachineCategory(params) { return request({ url: '/machine_category/delete', method: 'post', data: params }) }
