release.js
855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import request from '@/plugin/axios'
/**
* 发布箱List
*/
export function ReleasesList(data) {
return request({
url: '/hlwj/articleDO/publishBox',
method: 'get',
params:{
currentPage:data.pagenum,
pageSize:data.pagesize
}
})
}
// 单个/批量刪除发布箱的文章(逻辑删除)
export function DraftsDeleteByIds(data) {
return request({
url: '/hlwj/articleDO/deletePublishArticleByIds',
method: 'delete',
params:{
ids:data
}
})
}
// 栏目接口管理
export function articleClassifyList() {
return request({
url: '/cms/classify/articleClassifyList',
method: 'get',
})
}
/**
* 发布箱启用禁用
*/
export function publishingBoxEnabled(data) {
return request({
url: '/hlwj/articleDO/enableArticle?ids='+data.idList+'&enable='+data.enable,
method: 'post'
})
}