special.service.js 784 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * 活动专题页数据请求
  3. */
  4. export default class SpecialService {
  5. constructor(AjaxService) {
  6. Object.assign(this, { AjaxService })
  7. this.name = 'SpecialService'
  8. }
  9. /**
  10. * 活动详情
  11. * @param organizeId 组织Id
  12. * @param activeId 活动Id
  13. */
  14. specialInfo(data = {}) {
  15. return this.AjaxService.get({
  16. url:'/commodity/MallOrganize/mall/detail',
  17. data,
  18. isLoading: false,
  19. })
  20. }
  21. /**
  22. * 活动宣传图商品
  23. * @param number(imageId) 活动图宣传图id
  24. */
  25. activeProduct(data = {}) {
  26. return this.AjaxService.get({
  27. url:'/commodity/MallOrganize/mall/activeProduct',
  28. data,
  29. isLoading: false,
  30. })
  31. }
  32. }