File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
api/mall/promotion/combination
components/DiyEditor/components/mobile/PromotionCombination Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export const getCombinationActivity = async (id: number) => {
50
50
51
51
// 查询拼团活动详情列表
52
52
export const getCombinationActivityDetailList = ( ids : number [ ] ) => {
53
- return request . get ( { url : `/promotion/combination-activity/detail- list?ids=${ ids } ` } )
53
+ return request . get ( { url : `/promotion/combination-activity/list-by-ids ?ids=${ ids } ` } )
54
54
}
55
55
56
56
// 新增拼团活动
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ watch(
165
165
activity .products .forEach ((product ) => {
166
166
const spu = spuList .value .find ((spu ) => spu .id === product .spuId )
167
167
if (spu ) {
168
+ // 哪个最便宜就赋值哪个
168
169
spu .price = Math .min (product .combinationPrice || Infinity , spu .price || Infinity )
169
170
}
170
171
})
You can’t perform that action at this time.
0 commit comments