小说小程序前端代码仓库(小程序)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.1 KiB

  1. const api = {
  2. // 点击更多任务
  3. clickMoreTask: {
  4. url: '/my_task/clickMoreTask',
  5. method: 'POST',
  6. auth: true,
  7. limit : 1000,
  8. showLoading: true,
  9. },
  10. // 点击签到任务
  11. clickSignTask: {
  12. url: '/my_task/clickSignTask',
  13. method: 'GET',
  14. auth: true,
  15. limit : 1000,
  16. showLoading: true,
  17. },
  18. // 获取更多任务列表
  19. getMoreTaskList: {
  20. url: '/my_task/getMoreTaskList',
  21. method: 'GET',
  22. auth: true,
  23. },
  24. // 获取更多任务记录列表
  25. getMoreTaskRecordPage: {
  26. url: '/my_task/getMoreTaskRecordPage',
  27. method: 'GET',
  28. auth: true,
  29. },
  30. // 获取我的推荐票数
  31. getMyRecommendTicketNum: {
  32. url: '/my_task/getMyRecommendTicketNum',
  33. method: 'GET',
  34. auth: true,
  35. },
  36. // 获取我的推荐任务列表
  37. getSignTaskList: {
  38. url: '/my_task/getSignTaskList',
  39. method: 'GET',
  40. auth: true,
  41. },
  42. // 获取我的推荐任务记录列表
  43. getSignTaskRecordPage: {
  44. url: '/my_task/getSignTaskRecordPage',
  45. method: 'GET',
  46. auth: true,
  47. },
  48. // 获取我当天是否以及签到
  49. getSignTaskToday: {
  50. url: '/my_task/getSignTaskToday',
  51. method: 'GET',
  52. auth: true,
  53. },
  54. }
  55. export default api