53 lines
888 B
JavaScript
53 lines
888 B
JavaScript
/**
|
|
* @description Midjourney优质绘画作品
|
|
* Created on 2023-07-06
|
|
* @author yxz
|
|
*/
|
|
|
|
import request from '@/utils/request'
|
|
|
|
export function fetchList() {
|
|
return request({
|
|
url: '/admin/zexcellentpainting/list',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function fetPage(page) {
|
|
return request({
|
|
url: '/admin/zexcellentpainting/page',
|
|
method: 'get',
|
|
params: page
|
|
})
|
|
}
|
|
|
|
export function getObj (id) {
|
|
return request({
|
|
url: '/admin/zexcellentpainting/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function addObj (obj) {
|
|
return request({
|
|
url: '/admin/zexcellentpainting',
|
|
method: 'post',
|
|
data: obj
|
|
})
|
|
}
|
|
|
|
export function putObj (obj) {
|
|
return request({
|
|
url: '/admin/zexcellentpainting',
|
|
method: 'put',
|
|
data: obj
|
|
})
|
|
}
|
|
|
|
export function delObj (id) {
|
|
return request({
|
|
url: '/admin/zexcellentpainting/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|