From d972ec93c21ee8cc62fd514bfd910192eeaf48d8 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期三, 21 八月 2024 15:19:57 +0800
Subject: [PATCH] 提交

---
 api/index.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/api/index.js b/api/index.js
index 0a1a5a0..0d58ede 100644
--- a/api/index.js
+++ b/api/index.js
@@ -16,9 +16,9 @@
 	})
 }
 
-export function getUserInfo(id) {
+export function getUserInfo() {
 	return service({
-		url: `/api/app/student/${id}`,
+		url: '/api/app/config/getConfigByUser',
 		method: 'GET'
 	})
 }
@@ -118,4 +118,13 @@
 		url: `/api/app/product/productSold/${productId}`,
 		method: 'POST',
 	})
+}
+
+// 重置密码
+export function resetPwd(data) {
+	return service({
+		url: '/api/app/user/resetPwd',
+		method: 'PUT',
+		data
+	})
 }
\ No newline at end of file

--
Gitblit v1.9.2