2024-09-19 07:20:14 +08:00
|
|
|
"use strict";
|
2024-10-01 09:15:35 +08:00
|
|
|
const modules_mall_sheep_request_index = require("../../request/index.js");
|
2024-09-19 07:20:14 +08:00
|
|
|
const ActivityApi = {
|
|
|
|
// 获得单个商品,近期参与的每个活动
|
|
|
|
getActivityListBySpuId: (spuId) => {
|
2024-10-01 09:15:35 +08:00
|
|
|
return modules_mall_sheep_request_index.request({
|
2024-09-19 07:20:14 +08:00
|
|
|
url: "/promotion/activity/list-by-spu-id",
|
|
|
|
method: "GET",
|
|
|
|
params: {
|
|
|
|
spuId
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
};
|
|
|
|
exports.ActivityApi = ActivityApi;
|