import { get, post, put, del } from '../utils/request';

// 工单池列表接口
export const ticketPoolList = (data : any = {}) => get('v1/ticket/pool/list', data);
// 工单详情（工单池）
export const ticketPoolInfo = (data : any = {}) => get('v1/ticket/pool/info', data);
// 接单接口
export const ticketAccept = (data : any = {}) => get('v1/ticket/accept', data);
// 我的工单
export const myTicketList = (data : any = {}) => get('v1/ticket/my/list', data);
// 我的工单
export const myTicketInfo = (data : any = {}) => get('v1/ticket/my/info', data);


// 获取码信息
export const scanCodeGet = (data : any = {}) => get('v1/scan/code/get', data);
// 入库接口
export const orderStorageAct = (data : any) => post('v1/order/storage/act', data);
// 核销接口
export const orderStorageVerify = (data : any) => post('v1/order/storage/verify', data);
// 入库&核销记录
export const orderRecord = (data : any = {}) => get('v1/order/record', data);