From 66a397414a20aa592ce24ecd622024bc7744b7a0 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期三, 24 七月 2024 15:14:17 +0800 Subject: [PATCH] 新增平台链接类型的新增,修改,查询接口 --- Source/plt-web/plt-web-ui/src/api/user.js | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 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 ba082a8..0a7fed7 100644 --- a/Source/plt-web/plt-web-ui/src/api/user.js +++ b/Source/plt-web/plt-web-ui/src/api/user.js @@ -94,8 +94,8 @@ }); export const getUserInfo = () => request({ - url: '/api/blade-auth/oauth/user-info', - method: 'get' + url: '/api/framework/loginController/getSessionInfo', + method: 'post' }); export const sendLogs = (list) => request({ @@ -115,4 +115,16 @@ method: 'get', }); +// 淇敼瀵嗙爜 +export function changePassword(params) { + let formData = new FormData; + for (let key in params) { + formData.append(key, params[key]) + } + return request({ + url: "/api/userQueryController/changePassword", + method: "post", + data: formData + }); +} -- Gitblit v1.9.3