推拿小程序前端代码仓库
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
716 B

  1. // 订单相关接口
  2. const api = {
  3. /**
  4. * 创建订单
  5. */
  6. createOrder: {
  7. url: '/order/createOrder',
  8. method: 'POST',
  9. limit: 500,
  10. auth: true,
  11. showLoading: true,
  12. },
  13. /**
  14. * 支付订单
  15. */
  16. payOrder: {
  17. url: '/order/payOrder',
  18. method: 'POST',
  19. limit: 500,
  20. auth: true,
  21. showLoading: true,
  22. },
  23. /**
  24. * 核销订单
  25. */
  26. overOrder: {
  27. url: '/order/overOrder',
  28. method: 'POST',
  29. limit: 500,
  30. auth: true,
  31. showLoading: true,
  32. },
  33. /**
  34. * 查询订单列表
  35. */
  36. queryOrderList: {
  37. url: '/order/queryOrderList',
  38. method: 'GET',
  39. auth: true,
  40. },
  41. /**
  42. * 获取订单详情
  43. */
  44. queryOrderById: {
  45. url: '/order/queryOrderById',
  46. method: 'GET',
  47. auth: true,
  48. },
  49. }
  50. export default api