You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
982 B
47 lines
982 B
import request from '@/utils/request'
|
|
const serviceTitle = '/system';
|
|
const prefix = '/img/creatorProfit';
|
|
|
|
// 查询艺术家收益分页列表
|
|
export function listCreatorProfit(data) {
|
|
return request({
|
|
url: `${serviceTitle}${prefix}/page`,
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改艺术家收益
|
|
export function editCreatorProfit(data) {
|
|
return request({
|
|
url: `${serviceTitle}${prefix}/update`,
|
|
method: 'post' ,
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除艺术家收益
|
|
export function delCreatorProfit(ids) {
|
|
return request({
|
|
url: `${serviceTitle}${prefix}/delete/` + ids,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 获取艺术家收益详情
|
|
export function getCreatorProfitDetails(id) {
|
|
return request({
|
|
url: `${serviceTitle}${prefix}/details/` + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 变更类型显示状态
|
|
export function changeStatus(data) {
|
|
return request({
|
|
url: `${serviceTitle}${prefix}/changeStatus`,
|
|
method: 'post' ,
|
|
data: data
|
|
})
|
|
}
|
|
|
|
|