From 8637404f6656c40fca655fbd39149dfbffd4507d Mon Sep 17 00:00:00 2001
From: 77 <77@77.com>
Date: Wed, 17 Apr 2024 23:09:14 +0800
Subject: [PATCH] 123
---
src/api/cai/user.js | 41 +++++++++++++++
src/views/cai/user/index.vue | 82 ++++++++++++++++++++++++++++--
src/views/dashboard/PanelGroup.vue | 4 +-
3 files changed, 122 insertions(+), 5 deletions(-)
diff --git a/src/api/cai/user.js b/src/api/cai/user.js
index 371b8d8..8a45c78 100644
--- a/src/api/cai/user.js
+++ b/src/api/cai/user.js
@@ -130,3 +130,44 @@ export function userBindInvite(userId,inviteUsercode) {
}
})
}
+
+export function lockIm(userId) {
+ return request({
+ url: '/cai/user/lockIm',
+ method: 'get',
+ params:{
+ userId
+ }
+ })
+}
+
+export function unLockIm(userId) {
+ return request({
+ url: '/cai/user/unLockIm',
+ method: 'get',
+ params:{
+ userId
+ }
+ })
+}
+
+export function noSpeckIm(userId) {
+ return request({
+ url: '/cai/user/noSpeckIm',
+ method: 'get',
+ params:{
+ userId
+ }
+ })
+}
+
+export function enSpeckIm(userId) {
+ return request({
+ url: '/cai/user/enSpeckIm',
+ method: 'get',
+ params:{
+ userId
+ }
+ })
+}
+
diff --git a/src/views/cai/user/index.vue b/src/views/cai/user/index.vue
index f999e59..741ec63 100644
--- a/src/views/cai/user/index.vue
+++ b/src/views/cai/user/index.vue
@@ -120,6 +120,14 @@
+
+
+ 正常
+ 禁言
+ 封禁
+ 封禁+禁言
+
+
更多
+ 封禁IM
+ 解封IM
+ 禁言
+ 解封禁言
重置密码
修改手机
封禁
@@ -168,11 +180,11 @@