/**
 * 图片管理接口
 */
import request from '@/utils/request'
// 获取菜单列表
export const getDataList = (params) => request.basic.get('/api/v1/work-order-types', params)
// 获取菜单条数据
export const getMenu = (id) => request.basic.get(`/api/v1/work-order-types/${id}`)
// 添加菜单
export const createMenu = (params) => request.basic.post('/api/v1/work-order-types', params)
// 更新菜单
export const updateMenu = (id, params) => request.basic.put(`/api/v1/work-order-types/${id}`, params)
// 删除菜单
export const delMenu = (id) => request.basic.delete(`/api/v1/work-order-types/${id}`)
