import { axios } from '@/utils/request'
|
|
/**
|
* 查询blog文章分类
|
*
|
* @author inleft
|
* @date 2022-02-15 15:17:15
|
*/
|
export function blogArticleTypePage (parameter) {
|
return axios({
|
url: '/blogArticleType/page',
|
method: 'get',
|
params: parameter
|
})
|
}
|
|
/**
|
* blog文章分类列表
|
*
|
* @author inleft
|
* @date 2022-02-15 15:17:15
|
*/
|
export function blogArticleTypeList (parameter) {
|
return axios({
|
url: '/blogArticleType/list',
|
method: 'get',
|
params: parameter
|
})
|
}
|
|
/**
|
* 添加blog文章分类
|
*
|
* @author inleft
|
* @date 2022-02-15 15:17:15
|
*/
|
export function blogArticleTypeAdd (parameter) {
|
return axios({
|
url: '/blogArticleType/add',
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
/**
|
* 编辑blog文章分类
|
*
|
* @author inleft
|
* @date 2022-02-15 15:17:15
|
*/
|
export function blogArticleTypeEdit (parameter) {
|
return axios({
|
url: '/blogArticleType/edit',
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
/**
|
* 删除blog文章分类
|
*
|
* @author inleft
|
* @date 2022-02-15 15:17:15
|
*/
|
export function blogArticleTypeDelete (parameter) {
|
return axios({
|
url: '/blogArticleType/delete',
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
/**
|
* 导出blog文章分类
|
*
|
* @author inleft
|
* @date 2022-02-15 15:17:15
|
*/
|
export function blogArticleTypeExport (parameter) {
|
return axios({
|
url: '/blogArticleType/export',
|
method: 'get',
|
params: parameter,
|
responseType: 'blob'
|
})
|
}
|