修复获得商品的活动信息时,数组参数在小程序兼容性存在问题

This commit is contained in:
YunaiV committed 2023-11-20 23:45:31 +08:00
1 parent 33ac3cf2e6
commit 245a04aedc
1 file changed
+1 -1
+1 -1
View File
@@ -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 芋艿:后续要做调整
});