import request from '@/benyun/utils/request'
import store from '@/store/index'
// 获取路由
export const getRouters = () => {
	return request({
		url: '/system/menu/getRouters',
		method: 'get',
		// params: { tenantId: store.getters.userInfo.tenantId }
		params: { tenantId: store.getters.userInfo && store.getters.userInfo.tenantId }
	})
}