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 | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 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 7fb72ed..279286c 100644 --- a/Source/plt-web/plt-web-ui/src/api/user.js +++ b/Source/plt-web/plt-web-ui/src/api/user.js @@ -45,4 +45,28 @@ 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