工单小程序2024-11-20
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
657 B

5 months ago
  1. // 用户相关接口
  2. const api = {
  3. //用户信息-根据id查询用户信息
  4. queryUserById: {
  5. url: '/workorder/user/queryUserById',
  6. method: 'GET',
  7. auth : true,
  8. },
  9. //用户信息-资料修改
  10. updateUser: {
  11. url: '/workorder/user/updateUser',
  12. method: 'POST',
  13. auth : true,
  14. showLoading : true,
  15. },
  16. //用户列表
  17. queryUserList: {
  18. url: '/workorder/user/queryUserList',
  19. method: 'GET',
  20. auth : true,
  21. },
  22. //账号密码登录
  23. login: {
  24. url: '/workorder/user/login',
  25. method: 'POST',
  26. showLoading : true,
  27. },
  28. //注册
  29. register: {
  30. url: '/workorder/user/register',
  31. method: 'POST',
  32. showLoading : true,
  33. },
  34. }
  35. export default api