【修复】商城:seckill 导致打包失败的问题

This commit is contained in:
YunaiV
2024-05-05 11:20:08 +08:00
parent f4705ad4e1
commit 66c6463f44
3 changed files with 9 additions and 4 deletions

View File

@ -17,6 +17,11 @@ export const SeckillConfigApi = {
return await request.get({ url: `/promotion/seckill-config/page`, params })
},
// 查询秒杀时段列表
getSimpleSeckillConfigList: async () => {
return await request.get({ url: `/promotion/seckill-config/simple-list` })
},
// 查询秒杀时段详情
getSeckillConfig: async (id: number) => {
return await request.get({ url: `/promotion/seckill-config/get?id=` + id })