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

66 lines
1.2 KiB

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