import { request } from '@/api/request' // 获取新的预约信息 function getNewBoxInfo(loading) { return request({ url: '/getNewBoxInfo' }, loading) } // 预约福袋 function beforeBuyBox(data, loading) { return request({ url: '/beforeBuyBox', data }, loading) } // 我的预约 function boxBuyRecord(data, loading) { return request({ url: '/boxBuyRecord', data }, loading) } // 跑马灯 function boxDownMessageList(loading) { return request({ url: '/boxDownMessageList' }, loading) } // 泡泡列表 function boxRandGoodsList(loading) { return request({ url: '/boxRandGoodsList' }, loading) } // 拆袋 function openBoxOnline(loading) { return request({ url: '/openBoxOnline' }, loading) } // 福袋商品 banner function boxOutBanner(loading) { return request({ url: '/boxOutBanner' }, loading) } // 福袋商品列表 function boxOutGoodsList(data, loading) { return request({ url: '/boxOutGoodsList', data }, loading) } // 回收卡 function recycleCardInfo(loading) { return request({ url: '/recycleCardInfo' }, loading) } // 领取回收卡 function getRecycleCard(type, loading) { return request({ url: '/getRecycleCard', data: { type } }, loading) } // 领取奖金 function getUserTeamMoney(loading) { return request({ url: '/getUserTeamMoney' }, loading) } // 已处理 function boxHandleList(data, loading) { return request({ url: '/boxHandleList', data }, loading) } // 已处理 未读 function boxHandleUnread(loading) { return request({ url: '/boxHandleUnread' }, loading) } // 发货 function boxGoodsSurePost(data, loading) { return request({ url: '/boxGoodsSurePost', data }, loading) } // 回收 function boxGoodsReBuy(data, loading) { return request({ url: '/boxGoodsReBuy', data }, loading) } export default { getNewBoxInfo, beforeBuyBox, boxBuyRecord, boxDownMessageList, boxRandGoodsList, openBoxOnline, boxOutBanner, boxOutGoodsList, recycleCardInfo, getRecycleCard, getUserTeamMoney, boxHandleList, boxHandleUnread, boxGoodsSurePost, boxGoodsReBuy }