From d081cdaabcb942298f1df374f6a1cd626741098f Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期四, 08 六月 2023 14:17:14 +0800
Subject: [PATCH] 新增页面和配置,部分接口对接

---
 src/api/user.js |   67 ++++++++++++++++++++++++++++++---
 1 files changed, 61 insertions(+), 6 deletions(-)

diff --git a/src/api/user.js b/src/api/user.js
index 9e68e96..15e2ee5 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -1,18 +1,73 @@
 //将拦截器整体导入
 import request from '@/util/request'//导入已经写好的拦截器
 
+// 用户管理
 export function getUser(data){
     return request({
-        url:'/account/user/find/user/list',
-        method:'post',
-        data:data,
+        url: '/account/user/find/user/list',
+        method: 'post',
+        data: data,
     })
 }
 
 export function addUser(data){
     return request({
-        url:'/account/user/add',
-        method:'post',
+        url: '/account/user/add',
+        method: 'post',
         data: data,
     })
-}
\ No newline at end of file
+}
+
+export function delUser(id){
+    return request({
+        url: '/account/user/deleteUser?userId=' + id,
+        method: 'get',
+    })
+}
+
+export function updatePwd(data){
+    return request({
+        url: '/account/user/update/password',
+        method: 'post',
+        data: data
+    })
+}
+
+// 平级接收人管理
+export function getRecipient(data){
+    return request({
+        url:'/mesmanager/recipient/page',
+        method:'post',
+        data:data,
+    })
+}
+
+export function getRecipientById(data){
+    return request({
+        url:'/mesmanager/recipient/findById',
+        method:'post',
+        data:data,
+    })
+}
+
+export function addRecipient(data){
+    return request({
+        url:'/mesmanager/recipient/page',
+        method:'post',
+        data:data,
+    })
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+

--
Gitblit v1.9.2