From 9ce05e3853b493c76cf39569eb00fe20db8a3022 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期五, 05 十一月 2021 14:09:49 +0800
Subject: [PATCH] fixed
---
src/api/user.ts | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/src/api/user.ts b/src/api/user.ts
index 58be30b..0cc8dbd 100644
--- a/src/api/user.ts
+++ b/src/api/user.ts
@@ -60,7 +60,7 @@
return request({
url: "/data/api-u/users/updatePwd",
method: "post",
- data: params
+ data: qs.stringify(params)
});
};
@@ -71,3 +71,19 @@
data: params
});
};
+
+
+export const defHeadPics = () => {
+ return request({
+ url: "/data/api-u/users/defHeadPics",
+ method: "get"
+ });
+};
+
+
+export const getRoles = () => {
+ return request({
+ url: "/data/api-v/role/findAll",
+ method: "get"
+ });
+};
\ No newline at end of file
--
Gitblit v1.8.0