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

81 lines
1.4 KiB

11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
10 months ago
7 months ago
11 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. orderSaveOrUpdate : {
  60. url: '/order/saveOrUpdate',
  61. method: 'POST',
  62. auth : true,
  63. header : {
  64. 'Content-Type' : 'application/json'
  65. },
  66. },
  67. // 商城-商品下架
  68. orderUpdate : {
  69. url: '/order/update',
  70. method: 'POST',
  71. auth : true,
  72. },
  73. }
  74. export default api