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.
30 lines
556 B
30 lines
556 B
import request from '@/utils/request' |
|
export default { |
|
getByPageCustomer(data) { |
|
return request({ |
|
url: `/oil-mall/mallOrderInfo/getByPageCustomer`, |
|
method: 'post', |
|
data: data |
|
}) |
|
}, |
|
getOrderInfo(id) { |
|
return request({ |
|
url: `/oil-mall/mallOrderInfo/getCLC/${id}`, |
|
method: 'get' |
|
}) |
|
}, |
|
cancelOrder(data) { |
|
return request({ |
|
url: `/oil-mall/mallOrderInfo/cancelOrder`, |
|
method: 'POST', |
|
data |
|
}) |
|
}, |
|
refundOrder(data) { |
|
return request({ |
|
url: `/oil-mall/mallOrderInfo/refundOrder`, |
|
method: 'POST', |
|
data |
|
}) |
|
} |
|
} |