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 @@