details.js 651 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import request from '@/utils/request'
  2. // 获取拼团列表
  3. export function getCombinationList(data) {
  4. return request({
  5. url: '/api/combination/list',
  6. method: 'get',
  7. data
  8. });
  9. }
  10. //取消拼团
  11. export function getCombinationLisRemove(data,id) {
  12. return request({
  13. url: '/api/combination/remove'+id,
  14. method: 'get',
  15. data
  16. });
  17. }
  18. //拼团开团页面数据
  19. export function getCombinationLisPink(data,id) {
  20. return request({
  21. url: '/api/combination/pink/'+id,
  22. method: 'get',
  23. data
  24. });
  25. }
  26. // 获取拼团海报
  27. export function getCombinationPoster(data) {
  28. return request({
  29. url: '/api/combination/poster',
  30. method: 'post',
  31. data
  32. });
  33. }