吉安感知网项目-前端
罗广辉
2026-02-27 e00da17ae2adaecf1cdf2d5128e357a50607bc90
applications/drone-command/src/api/system/role.js
@@ -1,14 +1,10 @@
import request from '@/axios';
export const getList = (current, size, params) => {
export const getList = (params) => {
  return request({
    url: '/blade-system/role/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    },
    params,
  });
};
@@ -77,12 +73,13 @@
  });
};
export const getRoleTree = tenantId => {
export const getRoleTree = (tenantId,sysType) => {
  return request({
    url: '/blade-system/role/tree',
    method: 'get',
    params: {
      tenantId,
      sysType
    },
  });
};