From 3beea8bd4646d2bae9bef028f7226ece015766bd Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期五, 06 六月 2025 16:46:14 +0800
Subject: [PATCH] fix:关闭压缩

---
 src/api/login.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/api/login.js b/src/api/login.js
index a0cafe1..1f2a52c 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -25,3 +25,21 @@
         method: 'get',
     });
 }
+
+export function userDetail() {
+    return {
+        get: (id) => {
+            return publicRequest({
+                url: `/admin/user/detail/${id}`,
+                method: 'get',
+            });
+        },
+        setPsw: (data) => {
+            return publicRequest({
+                url: '/admin/user/changePassword',
+                method: 'post',
+                data
+            });
+        },
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3