29 lines
559 B
JavaScript
29 lines
559 B
JavaScript
import request from '@/utils/request'
|
|
|
|
export function getActiveUserConsume(id) {
|
|
return request({
|
|
url: 'activeUserConsume/'+id,
|
|
method: 'get',
|
|
})
|
|
}
|
|
export function addActiveUserConsume(data) {
|
|
return request({
|
|
url: 'activeUserConsume',
|
|
method: 'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function editActiveUserConsume(data) {
|
|
return request({
|
|
url: 'activeUserConsume',
|
|
method: 'put',
|
|
data:data
|
|
})
|
|
}
|
|
export function deleteActiveUserConsume(id) {
|
|
return request({
|
|
url: 'activeUserConsume/'+id,
|
|
method: 'delete',
|
|
})
|
|
}
|