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

/**
 * @description: 根据用户id获取用户菜单
 */
export const getMenus = (params?: object) => {
  return request({
    url: '/cbs-app/sysMenu/findByUser',
    method: 'post',
    data: params
  } as any)
}

/**
 * 获取tree菜单列表
 * @param params
 */
// export function getMenuList(params?) {
//   return request({
//     url: '/menu/list',
//     method: 'GET',
//     params
//   })
// }
