1234567891011121314151617181920212223242526272829 |
- import request from 'utils/request'
- // 登录
- export function submitLoginForm (object) {
- return request({
- url: '/landcrm/rest/userInfo/qpiUserLogin',
- method: 'post',
- data: object,
- type: 'FORM'
- })
- }
- // 获取菜单及权限
- export function getMenu (object) {
- return request({
- url: '/landcrm/rest/postInfo/getFunctionButtons2',
- method: 'post',
- data: object,
- type: 'FORM'
- })
- }
- // 刷新权限
- export function refreshLimits (object) {
- return request({
- url: '/device/login/clearToken',
- method: 'get',
- params: object,
- type: 'JSON'
- })
- }
|