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, });