From 391eec3114a17e68652434c6eae610799d80290e Mon Sep 17 00:00:00 2001 From: ludc <ludc@vci-tech.com> Date: 星期四, 16 一月 2025 11:13:43 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/plt-web/plt-web-ui/src/api/user.js | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 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 405e08d..279286c 100644 --- a/Source/plt-web/plt-web-ui/src/api/user.js +++ b/Source/plt-web/plt-web-ui/src/api/user.js @@ -37,3 +37,36 @@ }); } +// 閫�鍑虹櫥褰� +export function logout(params) { + return request({ + url: "/api/framework/loginController/logout", + method: "post", + params + }); +} +// 鎸夐挳鏉冮檺鎺ュ彛 +export function getButtons(params) { + return request({ + url: "/api/smFunctionController/getAllButtons", + method: "get", + params + }); +} +// 鑾峰彇澶村儚 +export function getUserPhoto(params) { + return request({ + url: "/api/userQueryController/getUserPhoto", + method: "get", + responseType:'blob', + params + }); +} +// 涓婁紶澶村儚 +export function updateUserPhoto(formData) { + return request({ + url: "/api/userQueryController/updateUserPhoto", + method: "post", + data:formData + }); +} -- Gitblit v1.9.3