敢为人鲜小程序前端代码仓库
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
808 B

5 months ago
5 months ago
5 months ago
5 months ago
3 months ago
5 months ago
  1. // 首页相关接口
  2. const api = {
  3. // 查看商品分类列表
  4. queryCategoryList: {
  5. url: '/teambuy/goods/queryCategoryList',
  6. method: 'GET',
  7. limit: 500,
  8. },
  9. // 查看商品列表
  10. queryGoodsList: {
  11. url: '/teambuy/goods/queryGoodsList',
  12. method: 'GET',
  13. limit: 100
  14. },
  15. // 轮播图-查询轮播图列表
  16. queryGoodsById: {
  17. url: '/teambuy/goods/queryGoodsById',
  18. method: 'GET',
  19. limit: 500
  20. },
  21. // 首页-获取首页轮播图
  22. queryBannerList : {
  23. url: '/teambuy/index/queryBannerList',
  24. method: 'GET',
  25. limit: 500
  26. },
  27. // 展示信息-查询展示列表
  28. queryInfoList : {
  29. url: '/teambuy/index/queryInfoList',
  30. method: 'GET',
  31. limit: 500
  32. },
  33. // 轮播图-查询轮播图列表
  34. rollList: {
  35. url: '/teambuy/index/rollList',
  36. method: 'GET',
  37. limit: 500
  38. }
  39. }
  40. export default api