import request from '@/utils/request'
import store from '@/store/index'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/system/menu/getRouters',
    method: 'get',
    params: {
      proId: store.state.user.thisIds.proId,
      userType: store.state.user.userType,
      parentId:store.state.user.thisIds.parentUuid,
      contUuid:store.state.user.thisIds.consUuid
    }
  })
}
