mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 10:35:07 +08:00
秒杀活动增删改查
This commit is contained in:
@ -18,6 +18,14 @@ export function updateSeckillActivity(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 关闭限时折扣活动
|
||||
export function closeSeckillActivity(id) {
|
||||
return request({
|
||||
url: '/promotion/seckill-activity/close?id=' + id,
|
||||
method: 'put'
|
||||
})
|
||||
}
|
||||
|
||||
// 删除秒杀活动
|
||||
export function deleteSeckillActivity(id) {
|
||||
return request({
|
||||
@ -42,13 +50,3 @@ export function getSeckillActivityPage(query) {
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出秒杀活动 Excel
|
||||
export function exportSeckillActivityExcel(query) {
|
||||
return request({
|
||||
url: '/promotion/seckill-activity/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user