import request from '@/utils/request' // 查询钢卷缓存列表 export function listCoilCache(query) { return request({ url: '/wms/coilCache/list', method: 'get', params: query }) } // 查询钢卷缓存详细 export function getCoilCache(cacheId) { return request({ url: '/wms/coilCache/' + cacheId, method: 'get' }) } // 新增钢卷缓存 export function addCoilCache(data) { return request({ url: '/wms/coilCache', method: 'post', data: data }) } // 修改钢卷缓存 export function updateCoilCache(data) { return request({ url: '/wms/coilCache', method: 'put', data: data }) } // 删除钢卷缓存 export function delCoilCache(cacheId) { return request({ url: '/wms/coilCache/' + cacheId, method: 'delete' }) } // 存储缓存 export function saveCoilCache(data) { return request({ url: '/wms/coilCache/save', method: 'post', data: data }) } // 获取缓存 export function getCoilCacheByCoilId(coilId) { return request({ url: '/wms/coilCache/getByCoilId/' + coilId, method: 'get' }) }