17 lines
331 B
JavaScript
17 lines
331 B
JavaScript
|
import request from '@/sheep/request';
|
||
|
|
||
|
const ActivityApi = {
|
||
|
// 获得单个商品,近期参与的每个活动
|
||
|
getActivityListBySpuId: (spuId) => {
|
||
|
return request({
|
||
|
url: '/promotion/activity/list-by-spu-id',
|
||
|
method: 'GET',
|
||
|
params: {
|
||
|
spuId,
|
||
|
},
|
||
|
});
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default ActivityApi;
|