商城类、订单类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.

38 lines
627 B

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. updateInfo: {
  12. url: '/info_common/updateInfo',
  13. method: 'POST',
  14. auth: true,
  15. limit : 500,
  16. showLoading : true,
  17. },
  18. // 获取个人信息
  19. getInfo: {
  20. url: '/info_common/getInfo',
  21. method: 'GET',
  22. auth: true,
  23. },
  24. //隐私政策
  25. getPrivacyPolicy: {
  26. url: '/login/getPrivacyPolicy',
  27. method: 'GET',
  28. },
  29. //用户协议
  30. getUserAgreement: {
  31. url: '/login/getUserAgreement',
  32. method: 'GET',
  33. },
  34. }
  35. export default api