Newer
Older
KaiFengPC / src / api / menu.js
@鲁yixuan 鲁yixuan on 19 Aug 355 bytes updata
import request from '@/utils/request';

// 获取路由
export const getRouters = moduleKey => {
  return request({
    url: '/system/menu/getRouters?moduleKey=' + moduleKey,
    method: 'get',
  });
};

// 搜索菜单列表
export function listMenu(query) {
  return request({
    url: '/system/menu/list',
    method: 'get',
    params: query,
  });
}