展品维保小程序前端代码接口
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.

52 lines
1.1 KiB

2 weeks ago
  1. // import request from "@/api/request";
  2. import http from "@/api/http";
  3. export default {
  4. // 首页- 申请成为志愿者
  5. async applyVolunteer(data) {
  6. return http({
  7. url: '/index/applyVolunteer',
  8. method: 'POST',
  9. data
  10. })
  11. },
  12. // 首页- 查看志愿者信息复制接口复制文档复制地址
  13. // POST
  14. // / community - admin / community / index /queryVolunteer
  15. async queryVolunteer() {
  16. return http({
  17. url: '/index/queryVolunteer',
  18. method: 'POST'
  19. })
  20. },
  21. // 首页- 获取banner图列表
  22. async queryBannerList(data) {
  23. return http({
  24. url: '/index/queryBannerList',
  25. method: 'GET',
  26. noToken: true,
  27. data
  28. })
  29. },
  30. // 首页- 获取公告详情
  31. async queryNoticeById(data) {
  32. return http({
  33. url: '/index/queryNoticeById',
  34. method: 'GET',
  35. data,
  36. noToken: true
  37. })
  38. },
  39. // 首页- 获取公告列表
  40. async queryNoticeList(data) {
  41. return http({
  42. url: '/index/queryNoticeList',
  43. method: 'GET',
  44. data,
  45. noToken: true
  46. })
  47. },
  48. }