import { axios } from '@/utils/request'
|
|
/**
|
* 查询blog文章主体
|
*
|
* @author inleft
|
* @date 2022-01-22 16:53:06
|
*/
|
export function blogArticlePage (parameter) {
|
return axios({
|
url: '/blogArticle/page',
|
method: 'get',
|
params: parameter
|
})
|
}
|
|
/**
|
* blog文章主体列表
|
*
|
* @author inleft
|
* @date 2022-01-22 16:53:06
|
*/
|
export function blogArticleList (parameter) {
|
return axios({
|
url: '/blogArticle/list',
|
method: 'get',
|
params: parameter
|
})
|
}
|
|
/**
|
* 添加blog文章主体
|
*
|
* @author inleft
|
* @date 2022-01-22 16:53:06
|
*/
|
export function blogArticleAdd (parameter) {
|
return axios({
|
url: '/blogArticle/add',
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
/**
|
* 编辑blog文章主体
|
*
|
* @author inleft
|
* @date 2022-01-22 16:53:06
|
*/
|
export function blogArticleEdit (parameter) {
|
return axios({
|
url: '/blogArticle/edit',
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
/**
|
* 删除blog文章主体
|
*
|
* @author inleft
|
* @date 2022-01-22 16:53:06
|
*/
|
export function blogArticleDelete (parameter) {
|
return axios({
|
url: '/blogArticle/delete',
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
/**
|
* 导出blog文章主体
|
*
|
* @author inleft
|
* @date 2022-01-22 16:53:06
|
*/
|
export function blogArticleExport (parameter) {
|
return axios({
|
url: '/blogArticle/export',
|
method: 'get',
|
params: parameter,
|
responseType: 'blob'
|
})
|
}
|