coupon.js 857 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import {
  2. myRequest
  3. } from '../request.js'
  4. export default {
  5. //查询活动配置列表
  6. configurationlist(data) {
  7. return myRequest({
  8. url: '/configuration/list',
  9. method: 'get',
  10. data: data
  11. })
  12. },
  13. //查询课程所做的活动
  14. configurationlistConfig(data) {
  15. return myRequest({
  16. url: '/configuration/listConfig',
  17. method: 'get',
  18. data: data
  19. })
  20. },
  21. //查詢用户擁有券
  22. configurationlistCoupon(data) {
  23. return myRequest({
  24. url: '/configuration/listCoupon',
  25. method: 'get',
  26. data: data
  27. })
  28. },
  29. //領取活動發送請求
  30. configurationreceive(data) {
  31. return myRequest({
  32. url: '/configuration/receive',
  33. method: 'post',
  34. data: data
  35. })
  36. },
  37. //考试报名指引
  38. arrangementlist(data) {
  39. return myRequest({
  40. url: '/app/common/exam/arrangement/list',
  41. method: 'get',
  42. data: data,
  43. noToken: true
  44. })
  45. },
  46. }