acdr/ruoyi-vue-pro/yudao-ui/yudao-ui-mall-uniapp/sheep/api/promotion/activity.js

17 lines
331 B
JavaScript
Raw Normal View History

2024-09-02 07:40:26 +08:00
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;