推广小程序前端代码
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.

76 lines
1.4 KiB

2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
2 months ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
  1. // 订单相关接口
  2. const api = {
  3. // 获取订单列表数据带分页
  4. orderPageList: {
  5. url: '/order_common/getOrderPageList',
  6. method: 'GET',
  7. auth : true,
  8. },
  9. // 取消订单活动
  10. cancelOrder: {
  11. url: '/order_common/cancelOrder',
  12. method: 'POST',
  13. auth : true,
  14. showLoading : true,
  15. limit : 1000,
  16. },
  17. // 订单活动评价
  18. evaluate: {
  19. url: '/order_common/evaluate',
  20. method: 'POST',
  21. auth : true,
  22. showLoading : true,
  23. limit : 1000,
  24. },
  25. // 根据订单标识查询订单信息
  26. orderInfo: {
  27. url: '/order_common/getOrderInfo',
  28. method: 'GET',
  29. auth : true,
  30. },
  31. // 订单开具发票
  32. invoice: {
  33. url: '/order_common/invoice',
  34. method: 'POST',
  35. auth : true,
  36. },
  37. //发票列表
  38. getInvoicePageList:{
  39. url: '/order_common/getInvoicePageList',
  40. method: 'GET',
  41. auth : true,
  42. },
  43. // 订单活动签到
  44. signIn: {
  45. url: '/order_common/signIn',
  46. method: 'POST',
  47. auth : true,
  48. showLoading : true,
  49. },
  50. // 创建订单
  51. createOrder : {
  52. url: '/order_common/createOrder',
  53. method: 'POST',
  54. auth : true,
  55. showLoading : true,
  56. limit : 1000,
  57. },
  58. createOrderPay : {
  59. url: '/order_common/createOrderPay',
  60. method: 'POST',
  61. auth : true,
  62. showLoading : true,
  63. limit : 1000,
  64. },
  65. // 收藏
  66. collect: {
  67. url: '/order_common/collect',
  68. method: 'POST',
  69. auth : true,
  70. showLoading : true,
  71. limit : 1000,
  72. },
  73. }
  74. export default api