commit | author | age
|
88f419
|
1 |
import { axios } from '@/utils/request' |
I |
2 |
|
|
3 |
/** |
|
4 |
* 查询文章评论 |
|
5 |
* |
|
6 |
* @author inleft |
|
7 |
* @date 2022-03-01 14:00:53 |
|
8 |
*/ |
|
9 |
export function blogArticleCommentPage (parameter) { |
|
10 |
return axios({ |
|
11 |
url: '/blogArticleComment/page', |
|
12 |
method: 'get', |
|
13 |
params: parameter |
|
14 |
}) |
|
15 |
} |
|
16 |
|
|
17 |
/** |
|
18 |
* 文章评论列表 |
|
19 |
* |
|
20 |
* @author inleft |
|
21 |
* @date 2022-03-01 14:00:53 |
|
22 |
*/ |
|
23 |
export function blogArticleCommentList (parameter) { |
|
24 |
return axios({ |
|
25 |
url: '/blogArticleComment/list', |
|
26 |
method: 'get', |
|
27 |
params: parameter |
|
28 |
}) |
|
29 |
} |
|
30 |
|
|
31 |
/** |
|
32 |
* 添加文章评论 |
|
33 |
* |
|
34 |
* @author inleft |
|
35 |
* @date 2022-03-01 14:00:53 |
|
36 |
*/ |
|
37 |
export function blogArticleCommentAdd (parameter) { |
|
38 |
return axios({ |
|
39 |
url: '/blogArticleComment/add', |
|
40 |
method: 'post', |
|
41 |
data: parameter |
|
42 |
}) |
|
43 |
} |
|
44 |
|
|
45 |
/** |
|
46 |
* 编辑文章评论 |
|
47 |
* |
|
48 |
* @author inleft |
|
49 |
* @date 2022-03-01 14:00:53 |
|
50 |
*/ |
|
51 |
export function blogArticleCommentEdit (parameter) { |
|
52 |
return axios({ |
|
53 |
url: '/blogArticleComment/edit', |
|
54 |
method: 'post', |
|
55 |
data: parameter |
|
56 |
}) |
|
57 |
} |
|
58 |
|
|
59 |
/** |
|
60 |
* 删除文章评论 |
|
61 |
* |
|
62 |
* @author inleft |
|
63 |
* @date 2022-03-01 14:00:53 |
|
64 |
*/ |
|
65 |
export function blogArticleCommentDelete (parameter) { |
|
66 |
return axios({ |
|
67 |
url: '/blogArticleComment/delete', |
|
68 |
method: 'post', |
|
69 |
data: parameter |
|
70 |
}) |
|
71 |
} |
|
72 |
|
|
73 |
/** |
|
74 |
* 导出文章评论 |
|
75 |
* |
|
76 |
* @author inleft |
|
77 |
* @date 2022-03-01 14:00:53 |
|
78 |
*/ |
|
79 |
export function blogArticleCommentExport (parameter) { |
|
80 |
return axios({ |
|
81 |
url: '/blogArticleComment/export', |
|
82 |
method: 'get', |
|
83 |
params: parameter, |
|
84 |
responseType: 'blob' |
|
85 |
}) |
|
86 |
} |