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

42 lines
577 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. queryOrderList: {
  27. url: '/order/queryOrderList',
  28. method: 'GET',
  29. auth: true,
  30. },
  31. /**
  32. * 获取订单详情
  33. */
  34. queryOrderById: {
  35. url: '/order/queryOrderById',
  36. method: 'GET',
  37. auth: true,
  38. },
  39. }
  40. export default api