建材商城系统20241014
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.

33 lines
537 B

  1. // 登录相关接口
  2. const api = {
  3. // 获取购物车信息列表带分页
  4. getCartPageList: {
  5. url: '/cat/getCartPageList',
  6. method: 'GET',
  7. limit : 500,
  8. },
  9. // 加入购物车
  10. addCart: {
  11. url: '/cat/addCart',
  12. method: 'GET',
  13. limit : 500,
  14. },
  15. // 删除购物车信息
  16. deleteCart: {
  17. url: '/cat/deleteCart',
  18. method: 'POST',
  19. auth: true,
  20. },
  21. // 修改购物车信息数量
  22. updateCartNum: {
  23. url: '/cat/updateCartNum',
  24. method: 'POST',
  25. auth: true,
  26. limit : 500,
  27. showLoading : true,
  28. },
  29. }
  30. export default api