瑶都万能墙
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.

52 lines
876 B

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. // 商城接口
  2. const api = {
  3. // 商城-立即兑换商品
  4. createPointsOrder : {
  5. url: '/order/createPointsOrder',
  6. method: 'POST',
  7. auth : true,
  8. showLoading : true,
  9. limit : 1000,
  10. },
  11. // 商城-立即兑换商品,微信支付购买商品
  12. createOrder : {
  13. url: '/order/createOrder',
  14. method: 'POST',
  15. auth : true,
  16. showLoading : true,
  17. limit : 1000,
  18. },
  19. // 商城-订单列表
  20. getOrderList : {
  21. url: '/order/getOrderList',
  22. method: 'GET',
  23. auth : true,
  24. },
  25. // 商城-订单详情
  26. getOrderDetail : {
  27. url: '/order/getOrderDetail',
  28. method: 'GET',
  29. auth : true,
  30. },
  31. // 开通会员
  32. openMember : {
  33. url: '/order/openMember',
  34. method: 'POST',
  35. auth : true,
  36. showLoading : true,
  37. },
  38. // 查询当前开通会员以及过期时间
  39. getMemberInfo : {
  40. url: '/order/getMemberInfo',
  41. method: 'GET',
  42. auth : true,
  43. },
  44. }
  45. export default api