无人机管理后台前端(已迁走)
张含笑
2025-12-09 5808f76456ca0d40de5074f132b73a5a488e3e13
src/api/user.js
@@ -17,7 +17,7 @@
      tenantId,
      username,
      password,
      grant_type: website.captchaMode ? 'captcha' : 'password',
      grant_type: 'password',
      scope: 'all',
      type,
    },
@@ -122,10 +122,11 @@
    },
  });
export const getButtons = () =>
export const getButtons = (params) =>
  request({
    url: '/blade-system/menu/buttons',
    method: 'get',
    params
  });
export const getCaptcha = () =>
@@ -171,3 +172,10 @@
      phone,
    },
  });
export const getParentDeptInfo = params =>
  request({
    url: '/blade-system/dept/getParentDeptInfo',
    method: 'get',
    params: params,
  });