odc.xiaohui
2023-03-07 5035dde1c77b21c79a32a2e4802f0a1e85931c46
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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',
    })
}