29 lines
558 B
JavaScript
29 lines
558 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询商品订单列表
|
|
export function listOrder(query) {
|
|
return request({
|
|
url: '/business/order/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 根据订单id查询商品订单信息
|
|
export function getOrderGoods(data) {
|
|
return request({
|
|
url: '/business/orderGoods/orderList',
|
|
method: 'post',
|
|
data: data,
|
|
})
|
|
}
|
|
|
|
// 根据订单id查询商品订单信息
|
|
export function getGoodsOrder(data) {
|
|
return request({
|
|
url: '/business/order/id',
|
|
method: 'post',
|
|
data: data,
|
|
})
|
|
}
|