商城类、订单类uniapp模板,多角色
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.

34 lines
555 B

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