activity.js 331 B

12345678910111213141516
  1. import request from '@/sheep/request';
  2. const ActivityApi = {
  3. // 获得单个商品,近期参与的每个活动
  4. getActivityListBySpuId: (spuId) => {
  5. return request({
  6. url: '/promotion/activity/list-by-spu-id',
  7. method: 'GET',
  8. params: {
  9. spuId,
  10. },
  11. });
  12. },
  13. };
  14. export default ActivityApi;