forked from hydra94501/likeadmin_java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharticle.ts
More file actions
69 lines (57 loc) · 1.79 KB
/
Copy patharticle.ts
File metadata and controls
69 lines (57 loc) · 1.79 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import request from '@/utils/request'
// 文章分类列表
export function articleCateLists(params?: any) {
return request.get({ url: '/article/cate/list', params })
}
// 文章分类列表
export function articleCateAll(params?: any) {
return request.get({ url: '/article/cate/all', params })
}
// 添加文章分类
export function articleCateAdd(params: any) {
return request.post({ url: '/article/cate/add', params })
}
// 编辑文章分类
export function articleCateEdit(params: any) {
return request.post({ url: '/article/cate/edit', params })
}
// 删除文章分类
export function articleCateDelete(params: any) {
return request.post({ url: '/article/cate/del', params })
}
// 文章分类详情
export function articleCateDetail(params: any) {
return request.get({ url: '/article/cate/detail', params })
}
// 文章分类状态
export function articleCateStatus(params: any) {
return request.post({ url: '/article/cate/change', params })
}
// 文章列表
export function articleLists(params?: any) {
return request.get({ url: '/article/list', params })
}
// 文章列表
export function articleAll(params?: any) {
return request.get({ url: '/article/all', params })
}
// 添加文章
export function articleAdd(params: any) {
return request.post({ url: '/article/add', params })
}
// 编辑文章
export function articleEdit(params: any) {
return request.post({ url: '/article/edit', params })
}
// 删除文章
export function articleDelete(params: any) {
return request.post({ url: '/article/del', params })
}
// 文章详情
export function articleDetail(params: any) {
return request.get({ url: '/article/detail', params })
}
// 文章分类状态
export function articleStatus(params: any) {
return request.post({ url: '/article/change', params })
}