order.js
862 字节
import {
request
} from '@/utils/request.js'
// 买家订单 /api/order/order_list
export const buyerOrderList = (data) => request({url: 'order/order_list',method: 'post',data: data})
// 卖家订单 /api/order/order_seller_list
export const sellerOrderList = (data) => request({url: 'order/order_seller_list',method: 'post',data: data})
// 买家收货
export const order_confirm = (data) => request({url: 'order/order_confirm',method: 'post',data: data})
// 卖家发货
export const order_send = (order_id) => request({url: 'order/order_send',method: 'post',data: {order_id}})
// 卖家上传证明
export const order_license = (data) => request({url: 'order/order_license',method: 'post',data: data})
// 订单详情
export const order_detail = (order_id) => request({url: 'order/order_detail',method: 'post',data: {order_id}})