import request from '@/plugins/request'
|
|
export function getName() {
|
return request({
|
url: '/group/getAllGroupName',
|
method: 'get',
|
})
|
}
|
export function getAllMessage(params) {
|
return request({
|
url: '/group/getAllMessage',
|
method: 'get',
|
params:{
|
id:params
|
}
|
})
|
}
|
|
export function getAllNotice(params) {
|
return request({
|
url: '/group/getAllNotice',
|
method: 'get',
|
params:{
|
id:params
|
}
|
})
|
}
|
export function getAllUser(params) {
|
return request({
|
url: '/group/getAllUser',
|
method: 'get',
|
params:{
|
id:params
|
}
|
})
|
}
|
|
export function setBanSpeech(params,param1) {
|
return request({
|
url: '/group/banSpeech?id='+params+"&&groupId="+param1,
|
method: 'put',
|
})
|
}
|
export function setAllowSpeech(params,param1) {
|
return request({
|
url: '/group/allowSpeech?id='+params+"&&groupId="+param1,
|
method: 'put',
|
|
})
|
}
|
|
export function setBanSpeechAll(params) {
|
return request({
|
url: '/group/banSpeechAll?id='+params,
|
method: 'put',
|
})
|
}
|
|
export function getGroupMessage(param,param1) {
|
return request({
|
url: '/group/getGroupMessage?report='+param.select+'&groupId='+param1,
|
method: 'get',
|
})
|
}
|
|
export function getGroupMessageContext(param,param1) {
|
return request({
|
url: '/group/getGroupMessage?context='+param.select+'&groupId='+param1,
|
method: 'get',
|
})
|
}
|
|
export function seed(param,param1) {
|
return request({
|
url: '/group/sendMessage?text='+param+'&id='+param1,
|
method: 'get',
|
})
|
}
|
export function delmsg(param) {
|
return request({
|
url: '/message/deleteById?id='+param,
|
method: 'delete',
|
})
|
}
|