From a485f4494787001a2695863e239910c019a52246 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 05 十二月 2024 20:47:40 +0800 Subject: [PATCH] 表单\表格定义保存对象转换逻辑修改。UI数据查询接口修改 --- Source/plt-web/plt-web-ui/src/api/user.js | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 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 abfa562..7fb72ed 100644 --- a/Source/plt-web/plt-web-ui/src/api/user.js +++ b/Source/plt-web/plt-web-ui/src/api/user.js @@ -27,13 +27,22 @@ // 淇敼瀵嗙爜 export function changePassword(params) { let formData = new FormData; - for (let key in params){ - formData.append(key,params[key]) + for (let key in params) { + formData.append(key, params[key]) } return request({ url: "/api/userQueryController/changePassword", method: "post", - data:formData + data: formData + }); +} + +// 閫�鍑虹櫥褰� +export function logout(params) { + return request({ + url: "/api/framework/loginController/logout", + method: "post", + params }); } -- Gitblit v1.9.3