mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-16 03:45:07 +08:00
promotion:优化秒杀活动的界面
This commit is contained in:
@ -57,6 +57,11 @@ export const updateSeckillActivity = async (data: SeckillActivityVO) => {
|
||||
return await request.put({ url: '/promotion/seckill-activity/update', data })
|
||||
}
|
||||
|
||||
// 关闭秒杀活动
|
||||
export const closeSeckillActivity = async (id: number) => {
|
||||
return await request.put({ url: '/promotion/seckill-activity/close?id=' + id })
|
||||
}
|
||||
|
||||
// 删除秒杀活动
|
||||
export const deleteSeckillActivity = async (id: number) => {
|
||||
return await request.delete({ url: '/promotion/seckill-activity/delete?id=' + id })
|
||||
|
Reference in New Issue
Block a user