oil-station/fuintAdmin/src/api/EventMarketing/activeUserConsume.js
2024-09-12 15:44:25 +08:00

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',
})
}