organize.js 594 B

1234567891011121314151617181920212223242526272829
  1. import request from 'utils/request'
  2. // 登录
  3. export function submitLoginForm (object) {
  4. return request({
  5. url: '/landcrm/rest/userInfo/qpiUserLogin',
  6. method: 'post',
  7. data: object,
  8. type: 'FORM'
  9. })
  10. }
  11. // 获取菜单及权限
  12. export function getMenu (object) {
  13. return request({
  14. url: '/landcrm/rest/postInfo/getFunctionButtons2',
  15. method: 'post',
  16. data: object,
  17. type: 'FORM'
  18. })
  19. }
  20. // 刷新权限
  21. export function refreshLimits (object) {
  22. return request({
  23. url: '/device/login/clearToken',
  24. method: 'get',
  25. params: object,
  26. type: 'JSON'
  27. })
  28. }