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.

34 lines
558 B

//提交订单
function addOrderApi(data){
return $axios({
'url': '/order/submit',
'method': 'post',
data
})
}
//查询所有订单
function orderListApi() {
return $axios({
'url': '/order/list',
'method': 'get',
})
}
//分页查询订单
function orderPagingApi(data) {
return $axios({
'url': '/order/userPage',
'method': 'get',
params:{...data}
})
}
//再来一单
function orderAgainApi(data) {
return $axios({
'url': '/order/again',
'method': 'post',
data
})
}