推拿小程序前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

53 lines
716 B

// 订单相关接口
const api = {
/**
* 创建订单
*/
createOrder: {
url: '/order/createOrder',
method: 'POST',
limit: 500,
auth: true,
showLoading: true,
},
/**
* 支付订单
*/
payOrder: {
url: '/order/payOrder',
method: 'POST',
limit: 500,
auth: true,
showLoading: true,
},
/**
* 核销订单
*/
overOrder: {
url: '/order/overOrder',
method: 'POST',
limit: 500,
auth: true,
showLoading: true,
},
/**
* 查询订单列表
*/
queryOrderList: {
url: '/order/queryOrderList',
method: 'GET',
auth: true,
},
/**
* 获取订单详情
*/
queryOrderById: {
url: '/order/queryOrderById',
method: 'GET',
auth: true,
},
}
export default api