2024-06-29 13:29:19 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
// 查询符合管理条件的用户
|
|
|
|
|
|
|
|
export function getADUser(data) {
|
|
|
|
return request({
|
|
|
|
url: '/system/user/getaduser/listInfo',
|
|
|
|
method: 'get',
|
|
|
|
data:data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-07-07 23:52:46 +08:00
|
|
|
|
2024-06-29 13:29:19 +08:00
|
|
|
// 新增禁言
|
|
|
|
export function addFriendMute(data) {
|
|
|
|
return request({
|
|
|
|
url: '/FriendMute/FriendMute/addApp',
|
|
|
|
method: 'post',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
stateMute
|
|
|
|
// 新增禁言
|
|
|
|
export function stateMute(data) {
|
|
|
|
return request({
|
|
|
|
url: '/FriendMute/FriendMute/stateMute',
|
|
|
|
method: 'post',
|
|
|
|
data: data
|
|
|
|
})
|
2024-07-18 00:13:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export function getMuteDay(id){
|
|
|
|
return request({
|
|
|
|
url: '/FriendMute/FriendMute/'+`${id}`,
|
|
|
|
method:'GET',
|
|
|
|
data:data
|
|
|
|
})
|
2024-07-25 10:58:41 +08:00
|
|
|
}
|
|
|
|
// 获取禁言天数
|
|
|
|
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
|
|
|
|
})
|
|
|
|
}
|