修复获得商品的活动信息时,数组参数在小程序兼容性存在问题
parent
33ac3cf2e6
commit
245a04aedc
|
@ -12,7 +12,7 @@ export function getActivityListBySpuId(spuId) {
|
|||
// 获得多个商品,近期参与的每个活动
|
||||
export function getActivityListBySpuIds(spuIds) {
|
||||
return request.get("app-api/promotion/activity/list-by-spu-ids", {
|
||||
spuIds
|
||||
spuIds: spuIds && spuIds.length > 0 ? spuIds.join(',') : undefined
|
||||
}, {
|
||||
noAuth: true // TODO 芋艿:后续要做调整
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue