From 03a2798accd9fe6680d98790e01cac2c1f83b3dd Mon Sep 17 00:00:00 2001 From: jwq666 <13914713+jwq666@user.noreply.gitee.com> Date: Thu, 25 Jul 2024 10:58:41 +0800 Subject: [PATCH] =?UTF-8?q?'=E5=AE=8C=E5=96=84=E4=BA=86=E7=A6=81=E8=A8=80?= =?UTF-8?q?=E5=A4=A9=E6=95=B0=E7=9A=84=E4=BF=AE=E6=94=B9'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/message/adUser.js | 20 +++++++++++++++++++- pages/message/minindex.vue | 29 ++++++++++++++++++++++++++--- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/api/message/adUser.js b/api/message/adUser.js index 26b34bc..e64beaf 100644 --- a/api/message/adUser.js +++ b/api/message/adUser.js @@ -34,4 +34,22 @@ export function stateMute(data) { method:'GET', data:data }) - } \ No newline at end of file + } +// 获取禁言天数 + export function getMuteInfo(userId) { + return request({ + url: '/FriendMute/FriendMute/getMuteInfo', + method: 'get', + params: { + userId: userId + } + }) + } +// 修改 + export function updateMuteEdit(data) { + return request({ + url: '/FriendMute/FriendMute/updateAppAdmin', + method: 'put', + data:data + }) + } \ No newline at end of file diff --git a/pages/message/minindex.vue b/pages/message/minindex.vue index e03c3fa..cbf5d7e 100644 --- a/pages/message/minindex.vue +++ b/pages/message/minindex.vue @@ -83,7 +83,7 @@