import request from '@/utils/request' /** * @data 预订餐(档口列表) */ export function getAdvanceOrderStallApi(data) { return request({ url: '/smart-canteen/api/v2/applet/menurecipe/list/reserve/canteen/shopstall', method: 'get', params: data }) } /** * @data 移动端-查询预订日期 */ export function getlistReserveDateAPI(data) { return request({ url: '/smart-canteen/api/v2/alloc/canteen/list-reserve-date', method: 'post', data }) } /** * @data 预订餐(详情) */ export function getAdvanceDetailListAPI(data) { return request({ url: '/smart-canteen/api/v2/applet/menurecipe/reserve/recipe/detail', method: 'post', data }) } /** * @data 移动端-预订餐(加购物车) */ export function addAdvancehoppingCartAPI(data) { return request({ url: '/smart-canteen/api/v2/mobile/order/shopping-cart/add', method: 'post', data }) } /** * @data 移动端-预订餐(减购物车) */ export function updateAdvancehoppingCartAPI(data) { return request({ url: '/smart-canteen/api/v2/mobile/order/shopping-cart/update', method: 'post', data }) } /** * @data 移动端-获取订单详情 */ export function getShoppingCartListAPI(data) { return request({ url: '/smart-canteen/api/v2/mobile/order/shopping-cart/list-cust', method: 'post', data }) }