You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
360 B
JavaScript
19 lines
360 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// api地址
|
|
const api = {
|
|
list: 'merchantApi/order/list',
|
|
detail: 'merchantApi/order/detail'
|
|
}
|
|
|
|
|
|
// 订单列表
|
|
export function list(param, option) {
|
|
return request.post(api.list, param, option)
|
|
}
|
|
|
|
// 订单详情
|
|
export function detail(orderId, param) {
|
|
return request.get(api.detail, { orderId, ...param })
|
|
}
|