青蛙卖大米小程序2024-11-24
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.

47 lines
967 B

7 months ago
  1. // 首页相关接口
  2. const api = {
  3. // 获取首页轮播图
  4. getRiceBanner: {
  5. url: '/rice_index/getRiceBanner',
  6. method: 'GET',
  7. },
  8. // 获取首页常规产品
  9. getRiceCommonProductList: {
  10. url: '/rice_index/getRiceCommonProductList',
  11. method: 'GET',
  12. },
  13. // 获取首页跳转图标
  14. getRiceIconList: {
  15. url: '/rice_index/getRiceIconList',
  16. method: 'GET',
  17. },
  18. // 获取首页新闻详情
  19. getRiceNewsDetail: {
  20. url: '/rice_index/getRiceNewsDetail',
  21. method: 'GET',
  22. },
  23. // 获取首页新闻列表
  24. getRiceNewsList: {
  25. url: '/rice_index/getRiceNewsList',
  26. method: 'GET',
  27. },
  28. // 获取首页公告列表
  29. getRiceNoticeList: {
  30. url: '/rice_index/getRiceNoticeList',
  31. method: 'GET',
  32. },
  33. // 获取首页商品详情
  34. getRiceProductDetail: {
  35. url: '/rice_index/getRiceProductDetail',
  36. method: 'GET',
  37. },
  38. // 获取首页体验产品
  39. getRiceProductList: {
  40. url: '/rice_index/getRiceProductList',
  41. method: 'GET',
  42. },
  43. }
  44. export default api