From a4077d90d300cf50c563f44953ed84322c5d5ff2 Mon Sep 17 00:00:00 2001
From: weicd <weicd@yhzhg.cn>
Date: Tue, 21 Nov 2023 03:48:54 +0000
Subject: [PATCH] 加验证
---
eladmin-web-master/src/api/system/user.js | 39 ++++++++++++++++++++++++++++++++++++++-
1 files changed, 38 insertions(+), 1 deletions(-)
diff --git a/eladmin-web-master/src/api/system/user.js b/eladmin-web-master/src/api/system/user.js
index 543191e..debcb0c 100644
--- a/eladmin-web-master/src/api/system/user.js
+++ b/eladmin-web-master/src/api/system/user.js
@@ -9,6 +9,22 @@
})
}
+export function get(params) {
+ return request({
+ url: 'api/users',
+ method: 'get',
+ params
+ })
+}
+
+export function getApprovalUsers(params) {
+ return request({
+ url: 'api/users/approval',
+ method: 'get',
+ params
+ })
+}
+
export function add(data) {
return request({
url: 'api/users',
@@ -65,4 +81,25 @@
})
}
-export default { getAll, add, edit, del }
+export function getUserCalendarInfo(month) {
+ return request({
+ url: 'api/users/getUserCalendarInfo/' + month,
+ method: 'get'
+ })
+}
+
+export function getUserBaseInfo(yearMonth) {
+ return request({
+ url: 'api/users/getUserBaseInfo/' + yearMonth,
+ method: 'get'
+ })
+}
+
+export function getUserInfose() {
+ return request({
+ url: 'api/users/getUserInfose/',
+ method: 'get'
+ })
+}
+
+export default { getAll, add, edit, del, get, getApprovalUsers, getUserCalendarInfo, getUserBaseInfo, getUserInfose }
--
Gitblit v1.9.3