木邻有你前端代码仓库
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.

43 lines
820 B

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months 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. // 首页- 获取banner图列表
  13. async queryBannerList(data) {
  14. return http({
  15. url: '/index/queryBannerList',
  16. method: 'GET',
  17. noToken: true,
  18. data
  19. })
  20. },
  21. // 首页- 获取公告详情
  22. async queryNoticeById(data) {
  23. return http({
  24. url: '/index/queryNoticeById',
  25. method: 'GET',
  26. data,
  27. noToken: true
  28. })
  29. },
  30. // 首页- 获取公告列表
  31. async queryNoticeList(data) {
  32. return http({
  33. url: '/index/queryNoticeList',
  34. method: 'GET',
  35. data,
  36. noToken: true
  37. })
  38. },
  39. }