16 lines
419 B
JavaScript
16 lines
419 B
JavaScript
|
import request from "@/utils/request.js";
|
||
|
|
||
|
// 获得单个商品,近期参与的每个活动
|
||
|
export function getActivityListBySpuId(spuId) {
|
||
|
return request.get("app-api/promotion/activity/list-by-spu-id", {
|
||
|
spuId
|
||
|
});
|
||
|
}
|
||
|
|
||
|
// 获得多个商品,近期参与的每个活动
|
||
|
export function getActivityListBySpuIds(spuIds) {
|
||
|
return request.get("app-api/promotion/activity/list-by-spu-id", {
|
||
|
spuIds
|
||
|
});
|
||
|
}
|