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

40 lines
667 B

3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  1. // 登录相关接口
  2. const api = {
  3. // 微信登录接口
  4. wxLogin: {
  5. url: '/login/login',
  6. method: 'GET',
  7. limit : 500,
  8. showLoading : true,
  9. },
  10. // 获取绑定手机号码
  11. bindPhone: {
  12. url: '/login/bindPhone',
  13. method: 'GET',
  14. auth: true,
  15. },
  16. // 修改个人信息接口
  17. updateInfo: {
  18. url: '/userInfo/updateUser',
  19. method: 'POST',
  20. auth: true,
  21. limit : 500,
  22. showLoading : true,
  23. },
  24. // 获取个人信息
  25. getInfo: {
  26. url: '/userInfo/queryUser',
  27. method: 'GET',
  28. auth: true,
  29. },
  30. // 获取个人中心基础数据信息
  31. getUserCenterData: {
  32. url: '/userInfo/getUserCenterData',
  33. method: 'GET',
  34. auth: true,
  35. },
  36. }
  37. export default api