【代码优化】代码格式化

pull/537/head
卢越 2024-09-05 15:15:19 +08:00
parent 4870231b61
commit 4f941df55c
2 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export const getCombinationActivity = async (id: number) => {
// 查询拼团活动详情列表
export const getCombinationActivityDetailList = (ids: number[]) => {
return request.get({ url: `/promotion/combination-activity/detail-list?ids=${ids}` })
return request.get({ url: `/promotion/combination-activity/list-by-ids?ids=${ids}` })
}
// 新增拼团活动

View File

@ -165,6 +165,7 @@ watch(
activity.products.forEach((product) => {
const spu = spuList.value.find((spu) => spu.id === product.spuId)
if (spu) {
// 便
spu.price = Math.min(product.combinationPrice || Infinity, spu.price || Infinity)
}
})