Newer
Older
Nanping_sponge_HHDP / src / api / menu.js
@liyingjing liyingjing on 25 Oct 2023 355 bytes 海绵大屏
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,
  });
}