From 089bf5d2378b3c4a61d795b2a92bede2c193b771 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 11:22:58 +0800
Subject: [PATCH] 1

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

diff --git a/src/api/user.js b/src/api/user.js
new file mode 100644
index 0000000..1f4cad2
--- /dev/null
+++ b/src/api/user.js
@@ -0,0 +1,31 @@
+import { post, get } from '@/utils/request'
+
+// 修改密码服务接口
+export const ServeUpdatePassword = data => {
+  return post('/api/v1/users/change/password', data)
+}
+
+// 修改手机号服务接口
+export const ServeUpdateMobile = data => {
+  return post('/api/v1/users/change/mobile', data)
+}
+
+// 修改手机号服务接口
+export const ServeUpdateEmail = data => {
+  return post('/api/v1/users/change/email', data)
+}
+
+// 修改个人信息服务接口
+export const ServeUpdateUserDetail = data => {
+  return post('/api/v1/users/change/detail', data)
+}
+
+// 查询用户信息服务接口
+export const ServeGetUserDetail = () => {
+  return get('/api/v1/users/detail')
+}
+
+// 获取用户相关设置信息
+export const ServeGetUserSetting = () => {
+  return get('/api/v1/users/setting')
+}

--
Gitblit v1.9.3