api_list.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /**
  2. * 接口列表文件
  3. */
  4. export default {
  5. app: {
  6. // 获取openId
  7. getOpenId: {
  8. url: '/business/app/login',
  9. auth: false,
  10. method: 'post',
  11. },
  12. // 获取手机号
  13. getPhone: {
  14. url: '/',
  15. auth: false,
  16. method: 'post',
  17. },
  18. // 获取用户信息
  19. getUserInfo: {
  20. url: '/',
  21. auth: false,
  22. method: 'get',
  23. },
  24. },
  25. signs: {
  26. // 获取已绑定福位
  27. getOpenidBlessingPosition: {
  28. url: '/business/app/getOpenidBlessingPosition',
  29. auth: true,
  30. method: 'POST',
  31. },
  32. // 获取预约时间选择
  33. getOpenidVisitDateTime: {
  34. url: '/business/app/getOpenidVisitDateTime',
  35. auth: true,
  36. method: 'POST',
  37. },
  38. // 添加预约
  39. addOpenidVisit: {
  40. url: '/business/app/addOpenidVisit',
  41. auth: true,
  42. method: 'POST',
  43. },
  44. // 预约记录
  45. getOpenidVisitList: {
  46. url: '/business/app/getOpenidVisitList',
  47. auth: true,
  48. method: 'POST',
  49. },
  50. // 未绑定阁位区域
  51. getBlessingArea: {
  52. url: '/business/app/getBlessingArea',
  53. auth: true,
  54. method: 'POST',
  55. },
  56. // 未绑定阁位
  57. getBlessingPosition: {
  58. url: '/business/app/getBlessingPosition',
  59. auth: true,
  60. method: 'POST',
  61. },
  62. // 手机发送验证码
  63. sendCode: {
  64. url: '/business/app/sendCode',
  65. auth: true,
  66. method: 'POST',
  67. },
  68. // 验证码绑定
  69. openidBinding: {
  70. url: '/business/app/openidBinding',
  71. auth: true,
  72. method: 'POST',
  73. },
  74. }
  75. };