55 lines
1.1 KiB
JavaScript
55 lines
1.1 KiB
JavaScript
import request from '@/utils/request'
|
|
// 查询符合管理条件的用户
|
|
|
|
export function getADUser(data) {
|
|
return request({
|
|
url: '/system/user/getaduser/listInfo',
|
|
method: 'get',
|
|
data:data
|
|
})
|
|
}
|
|
|
|
|
|
// 新增禁言
|
|
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
|
|
})
|
|
}
|
|
|
|
export function getMuteDay(id){
|
|
return request({
|
|
url: '/FriendMute/FriendMute/'+`${id}`,
|
|
method:'GET',
|
|
data:data
|
|
})
|
|
}
|
|
// 获取禁言天数
|
|
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
|
|
})
|
|
} |