baizonghao
2023-05-22 ee76677a6abe2567b8ba2ac714c3a60007dd83fc
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
import request from '@/plugins/request'
 
export function getPublicityList(params) {
    return request({
        url: '/user',
        method: 'get',
        params
    })
}
 
export function addPublicityList(params) {
    return request({
        url: '/user/add',
        method: 'post',
        data: params
    })
}
 
export function toManager(id) {
    return request({
        url: '/user/toManager/' + id,
        method: 'get'
    })
}
export function deleteUser(id) {
    return request({
        url: '/user/crowd?id='+id,
        method: 'delete',
 
    })
}