45 lines
778 B
JavaScript
45 lines
778 B
JavaScript
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询活跃度设置列表
|
||
|
export function listLively(query) {
|
||
|
return request({
|
||
|
url: '/system/lively/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询活跃度设置详细
|
||
|
export function getLively(id) {
|
||
|
return request({
|
||
|
url: '/system/lively/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增活跃度设置
|
||
|
export function addLively(data) {
|
||
|
return request({
|
||
|
url: '/system/lively',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改活跃度设置
|
||
|
export function updateLively(data) {
|
||
|
return request({
|
||
|
url: '/system/lively',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除活跃度设置
|
||
|
export function delLively(id) {
|
||
|
return request({
|
||
|
url: '/system/lively/' + id,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|