From 4cae7b89b60956e6c23e4c6e7a9e5a7b76927c53 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期二, 16 十一月 2021 14:02:05 +0800
Subject: [PATCH] 解决冲突
---
src/api/user.ts | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/src/api/user.ts b/src/api/user.ts
index 13afcab..0cc8dbd 100644
--- a/src/api/user.ts
+++ b/src/api/user.ts
@@ -60,7 +60,30 @@
return request({
url: "/data/api-u/users/updatePwd",
method: "post",
+ data: qs.stringify(params)
+ });
+};
+
+export const deleteUser = (params: any) => {
+ return request({
+ url: "/data/api-u/users/delUser",
+ method: "post",
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