鸿宇研学生前端代码
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.

59 lines
1.1 KiB

  1. // 订单相关接口
  2. const api = {
  3. // 我的订单-查询订单列表
  4. queryOrderList: {
  5. url: '/order/queryOrderList',
  6. method: 'GET',
  7. },
  8. // 我的订单-查询订单详情
  9. queryOrderById: {
  10. url: '/order/queryOrderById',
  11. method: 'GET',
  12. },
  13. // 我的订单-创建订单
  14. createOrder: {
  15. url: '/order/createOrder',
  16. method: 'POST',
  17. auth: true,
  18. limit : 500,
  19. showLoading : true,
  20. },
  21. // 我的订单-支付订单
  22. payOrder: {
  23. url: '/order/payOrder',
  24. method: 'POST',
  25. auth: true,
  26. limit : 500,
  27. showLoading : true,
  28. },
  29. // 我的订单-查询出行人列表
  30. queryTouristList: {
  31. url: '/order/queryTouristList',
  32. method: 'GET',
  33. auth: true,
  34. },
  35. // 我的订单-查询出行人详情
  36. queryTouristById: {
  37. url: '/order/queryTouristById',
  38. method: 'GET',
  39. auth: true,
  40. },
  41. // 我的订单-添加出行人
  42. addTourist: {
  43. url: '/order/addTourist',
  44. method: 'POST',
  45. auth: true,
  46. limit : 500,
  47. showLoading : true,
  48. },
  49. // 我的订单-修改出行人信息
  50. updateTourist: {
  51. url: '/order/updateTourist',
  52. method: 'POST',
  53. auth: true,
  54. limit : 500,
  55. showLoading : true,
  56. },
  57. }
  58. export default api