Newer
Older
DH_Apicture / src / api / menu.js
@zhangqy zhangqy on 29 Nov 355 bytes first commit
  1. import request from '@/utils/request';
  2.  
  3. // 获取路由
  4. export const getRouters = moduleKey => {
  5. return request({
  6. url: '/system/menu/getRouters?moduleKey=' + moduleKey,
  7. method: 'get',
  8. });
  9. };
  10.  
  11. // 查询菜单列表
  12. export function listMenu(query) {
  13. return request({
  14. url: '/system/menu/list',
  15. method: 'get',
  16. params: query,
  17. });
  18. }