| 123456789101112131415161718192021222324 |
- import {request} from '../service/ajax.js'
- const newsUrl = 'api/order/'
- // 创建订单
- export const orderCreate = (data) => request(newsUrl + 'create', 'post', { ...data },false)
- // 创建订单_购物车数组
- export const orderCreateVtwo = (data) => request(newsUrl + 'create_v2', 'post', { ...data },false)
- // 支付订单
- export const orderPay = (data) => request(newsUrl + 'pay', 'post', { ...data },false)
- // 获取订单列表
- export const orderList = (data) => request(newsUrl + 'list', 'post', { ...data },false)
- // 获取订单详情
- export const orderInfo = (data) => request(newsUrl + 'info', 'post', { ...data },false)
- // 取消订单
- export const orderCancel = (data) => request(newsUrl + 'cancel', 'post', { ...data },false)
- ///////////
- // 获取订单状态
- export const orderStatus = (data) => request(newsUrl + 'status', 'post', { ...data },false)
- // 获取预约送达时间
- export const orderTime = (data) => request(newsUrl + 'time', 'post', { ...data },false)
- // 支付页详情
- export const orderPayInfo = (data) => request(newsUrl + 'pay_info', 'post', { ...data },false)
|