From 78fa1f005a9ec2581611e53d7eba8efeacb4df6e Mon Sep 17 00:00:00 2001
From: 田源 <tianyuan@vci-tech.com>
Date: 星期三, 15 一月 2025 18:35:48 +0800
Subject: [PATCH] 调试头像接口

---
 Source/plt-web/plt-web-ui/src/api/user.js |   17 +++++++++++++++++
 1 files changed, 17 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 f66c597..279286c 100644
--- a/Source/plt-web/plt-web-ui/src/api/user.js
+++ b/Source/plt-web/plt-web-ui/src/api/user.js
@@ -53,3 +53,20 @@
     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