乱七八糟
This commit is contained in:
@@ -8,6 +8,9 @@ export const listOrder = (params) => http.get('/shop/order', {params})
|
||||
|
||||
// 查询订单
|
||||
export const getOrder = (orderId) => http.get('/shop/order/' + orderId)
|
||||
export const getOrderPay = (id) => http.get('/shop/order-pay/' + id)
|
||||
export const getOrderPayByOrderId = (orderId) => http.get('/shop/order-pay/getByOrderId/' + orderId)
|
||||
export const getOrderPayList = (params) => http.get('/shop/order-pay/', {params})
|
||||
|
||||
// 添加订单
|
||||
export const addOrder = (data) => http.post('/shop/order', data)
|
||||
@@ -20,6 +23,9 @@ export const removeOrder = (id) => http.get('/open/order/remove/' + id)
|
||||
|
||||
export const setPayStatus = (data) => http.post('/shop/order/setPayStatus', data)
|
||||
|
||||
export const freeze = (data) => http.get('/shop/order/freeze', {})
|
||||
export const checkFreeze = (orderId) => http.post('/shop/freeze-order/checkFreeze/' + orderId, {})
|
||||
|
||||
export default {
|
||||
pageOrder,
|
||||
listOrder,
|
||||
@@ -27,5 +33,10 @@ export default {
|
||||
addOrder,
|
||||
receiptOrder,
|
||||
removeOrder,
|
||||
setPayStatus
|
||||
setPayStatus,
|
||||
freeze,
|
||||
checkFreeze,
|
||||
getOrderPay,
|
||||
getOrderPayByOrderId,
|
||||
getOrderPayList
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user