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