From 34c25ddf37a3eb8da9efb04efedad089f13efe83 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 24 七月 2024 18:20:27 +0800 Subject: [PATCH] 部门导入调整,按照部门名称/实现层级关系。枚举导入功能接口上传,属性池添加新增、查询、修改、导出、查看应用范围等接口。业务类型、链接类型、枚举类型增加等接口属性是否产生数据检查、根据属性名修改业务类型和连接类型中对应属性方法,以及属性池中需要的一些下拉查询接口。 --- Source/plt-web/plt-web-ui/src/api/user.js | 91 --------------------------------------------- 1 files changed, 0 insertions(+), 91 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/api/user.js b/Source/plt-web/plt-web-ui/src/api/user.js index 1744e78..abfa562 100644 --- a/Source/plt-web/plt-web-ui/src/api/user.js +++ b/Source/plt-web/plt-web-ui/src/api/user.js @@ -19,100 +19,9 @@ } }); -export const loginBySocial = (tenantId, source, state) => request({ - url: '/api/blade-auth/oauth/token', - method: 'post', - headers: { - 'Tenant-Id': tenantId - }, - params: { - tenantId, - source, - state, - grant_type: "social", - scope: "all", - } -}) - -export const loginBySso = (state) => request({ - url: '/api/blade-auth/oauth/token', - method: 'post', - headers: { - 'Tenant-Id': state - }, - params: { - tenantId: state, - grant_type: "authorization_code", - scope: "all", - redirect_uri: website.redirectUri, - } -}) - -export const refreshToken = (refresh_token, tenantId, deptId, roleId) => request({ - url: '/api/blade-auth/oauth/token', - method: 'post', - headers: { - 'Tenant-Id': tenantId, - 'Dept-Id': (website.switchMode ? deptId : ''), - 'Role-Id': (website.switchMode ? roleId : '') - }, - params: { - tenantId, - refresh_token, - grant_type: "refresh_token", - scope: "all", - } -}); - -export const registerGuest = (form, oauthId) => request({ - url: '/api/blade-user/register-guest', - method: 'post', - params: { - tenantId: form.tenantId, - name: form.name, - account: form.account, - password: form.password, - oauthId - } -}); - -export const getButtons = () => request({ - url: '/api/blade-system/menu/buttons', - method: 'get' -}); - -export const getCaptcha = () => request({ - url: '/api/blade-auth/oauth/captcha', - method: 'get', - authorization: false -}); - -export const logout = () => request({ - url: '/api/blade-auth/oauth/logout', - method: 'get', - authorization: false -}); - export const getUserInfo = () => request({ url: '/api/framework/loginController/getSessionInfo', method: 'post' -}); - -export const sendLogs = (list) => request({ - url: '/api/blade-auth/oauth/logout', - method: 'post', - data: list -}); - -export const clearCache = () => request({ - url: '/api/blade-auth/oauth/clear-cache', - method: 'get', - authorization: false -}); - -export const selcetList = () => request({ - url: '/api/blade-system/tenant/tenant-map', - method: 'get', }); // 淇敼瀵嗙爜 -- Gitblit v1.9.3