Dining_Hall/api/advanceOrder/index.js

93 lines
1.4 KiB
JavaScript
Raw Normal View History

2025-02-19 09:34:34 +08:00
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
})
}