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

40 lines
775 B

  1. import request from "@/api/request";
  2. export default {
  3. // 首页- 申请成为志愿者
  4. async applyVolunteer(data) {
  5. return request({
  6. url: '/index/applyVolunteer',
  7. method: 'POST',
  8. data
  9. })
  10. },
  11. // 首页- 获取banner图列表
  12. async queryBannerList() {
  13. return request({
  14. url: '/index/queryBannerList',
  15. method: 'GET',
  16. noToken: true
  17. })
  18. },
  19. // 首页- 获取公告详情
  20. async queryNoticeById(data) {
  21. return request({
  22. url: '/index/queryNoticeById',
  23. method: 'GET',
  24. data,
  25. noToken: true
  26. })
  27. },
  28. // 首页- 获取公告列表
  29. async queryNoticeList(data) {
  30. return request({
  31. url: '/index/queryNoticeList',
  32. method: 'GET',
  33. data,
  34. noToken: true
  35. })
  36. },
  37. }