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