16 lines
417 B
JavaScript
16 lines
417 B
JavaScript
"use strict";
|
|
const modules_mall_sheep_request_index = require("../../request/index.js");
|
|
const ActivityApi = {
|
|
// 获得单个商品,近期参与的每个活动
|
|
getActivityListBySpuId: (spuId) => {
|
|
return modules_mall_sheep_request_index.request({
|
|
url: "/promotion/activity/list-by-spu-id",
|
|
method: "GET",
|
|
params: {
|
|
spuId
|
|
}
|
|
});
|
|
}
|
|
};
|
|
exports.ActivityApi = ActivityApi;
|