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