四零语境前端代码仓库
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.

38 lines
645 B

1 month ago
1 month ago
1 month ago
1 month ago
  1. import http from "@/api/http";
  2. export default{
  3. async getSignup(data) {
  4. // 首页底部内容添加报名
  5. return http({
  6. url: '/index/linkSignup',
  7. method: 'POST',
  8. data,
  9. needToken: true
  10. })
  11. },
  12. // 首页底部内容链接
  13. async getLink() {
  14. return http({
  15. url: '/index/link',
  16. method: 'GET',
  17. })
  18. },
  19. // 首页底部内容链接详情
  20. async getLinkDetails(data) {
  21. return http({
  22. url: '/index/linkDetails',
  23. method: 'GET',
  24. data
  25. })
  26. },
  27. // 查询轮播图
  28. async getBanner() {
  29. return http({
  30. url: '/index/banner',
  31. method: 'GET',
  32. })
  33. }
  34. }