Commit fdf73390 by 吕明尚

增加退款订单页面,增加优惠卷领取记录页面

parent d2f99cce
import request from '@/utils/request'
// 查询优惠券领取记录列表
export function listConsumerCoupon(query) {
return request({
url: '/system/consumerCoupon/list',
method: 'get',
params: query
})
}
// 查询优惠券领取记录详细
export function getConsumerCoupon(id) {
return request({
url: '/system/consumerCoupon/' + id,
method: 'get'
})
}
// 新增优惠券领取记录
export function addConsumerCoupon(data) {
return request({
url: '/system/consumerCoupon',
method: 'post',
data: data
})
}
// 修改优惠券领取记录
export function updateConsumerCoupon(data) {
return request({
url: '/system/consumerCoupon',
method: 'put',
data: data
})
}
// 删除优惠券领取记录
export function delConsumerCoupon(id) {
return request({
url: '/system/consumerCoupon/' + id,
method: 'delete'
})
}
......@@ -9,6 +9,15 @@ export function listOrder(query) {
})
}
// 查询订单列表
export function queryOrder(query) {
return request({
url: '/system/order/query',
method: 'get',
params: query
})
}
// 查询订单详细
export function getOrder(id) {
return request({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment