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

67 lines
1.3 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. updateOrder: {
  23. url: '/order/updateOrder',
  24. method: 'POST',
  25. auth: true,
  26. limit : 500,
  27. showLoading : true,
  28. },
  29. // 我的订单-支付订单
  30. payOrder: {
  31. url: '/order/payOrder',
  32. method: 'POST',
  33. auth: true,
  34. limit : 500,
  35. showLoading : true,
  36. },
  37. // 我的订单-查询出行人列表
  38. queryTouristList: {
  39. url: '/order/queryTouristList',
  40. method: 'GET',
  41. auth: true,
  42. },
  43. // 我的订单-查询出行人详情
  44. queryTouristById: {
  45. url: '/order/queryTouristById',
  46. method: 'GET',
  47. auth: true,
  48. },
  49. // 我的订单-添加出行人
  50. addTourist: {
  51. url: '/order/addTourist',
  52. method: 'POST',
  53. auth: true,
  54. limit : 500,
  55. showLoading : true,
  56. },
  57. // 我的订单-修改出行人信息
  58. updateTourist: {
  59. url: '/order/updateTourist',
  60. method: 'POST',
  61. auth: true,
  62. limit : 500,
  63. showLoading : true,
  64. },
  65. }
  66. export default api