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.
55 lines
1.1 KiB
55 lines
1.1 KiB
|
4 years ago
|
import request from '@/utils/request'
|
||
|
|
|
||
|
|
// 查询艺术家账户分页列表
|
||
|
|
export function listCreatorAccount(data) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorAccount/page',
|
||
|
|
method: 'post',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 新增艺术家账户
|
||
|
|
export function addCreatorAccount(data) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorAccount/insert',
|
||
|
|
method: 'post' ,
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 修改艺术家账户
|
||
|
|
export function editCreatorAccount(data) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorAccount/update',
|
||
|
|
method: 'post' ,
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 删除艺术家账户
|
||
|
|
export function delCreatorAccount(ids) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorAccount/delete/' + ids,
|
||
|
|
method: 'delete'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 获取艺术家账户详情
|
||
|
|
export function getCreatorAccountDetails(id) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorAccount/details/' + id,
|
||
|
|
method: 'get'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 变更类型显示状态
|
||
|
|
export function changeStatus(data) {
|
||
|
|
return request({
|
||
|
|
url: '/img/img/creatorAccount/changeStatus',
|
||
|
|
method: 'post' ,
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|