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.
46 lines
903 B
46 lines
903 B
|
4 years ago
|
import request from '@/utils/request'
|
||
|
|
|
||
|
|
// 查询艺术家收益分页列表
|
||
|
|
export function listCreatorProfit(data) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorProfit/page',
|
||
|
|
method: 'post',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 修改艺术家收益
|
||
|
|
export function editCreatorProfit(data) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorProfit/update',
|
||
|
|
method: 'post' ,
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 删除艺术家收益
|
||
|
|
export function delCreatorProfit(ids) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorProfit/delete/' + ids,
|
||
|
|
method: 'delete'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 获取艺术家收益详情
|
||
|
|
export function getCreatorProfitDetails(id) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorProfit/details/' + id,
|
||
|
|
method: 'get'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 变更类型显示状态
|
||
|
|
export function changeStatus(data) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorProfit/changeStatus',
|
||
|
|
method: 'post' ,
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|