敢为人鲜小程序前端代码仓库
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.

33 lines
533 B

3 months ago
  1. // 登录相关接口
  2. const api = {
  3. // 微信登录接口
  4. wxLogin: {
  5. url: '/login_common/appletLogin',
  6. method: 'GET',
  7. limit : 500,
  8. },
  9. // 获取绑定手机号码
  10. bindPhone: {
  11. url: '/login_common/bindPhone',
  12. method: 'GET',
  13. auth: true,
  14. },
  15. // 修改个人信息接口
  16. updateInfo: {
  17. url: '/info_common/updateInfo',
  18. method: 'POST',
  19. auth: true,
  20. limit : 500,
  21. showLoading : true,
  22. },
  23. // 获取个人信息
  24. getInfo: {
  25. url: '/info_common/getInfo',
  26. method: 'GET',
  27. auth: true,
  28. },
  29. }
  30. export default api