From e4f0862bd8af0ac1c7aab59904b69dd071526aff Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Fri, 12 Aug 2022 23:59:41 +0800
Subject: [PATCH] 视频模块添加播放历史

---
 src/api/blogLink.js |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/api/blogLink.js b/src/api/blogLink.js
index 37d5136..fec02ee 100644
--- a/src/api/blogLink.js
+++ b/src/api/blogLink.js
@@ -20,3 +20,25 @@
 		params: parameter
 	})
 }
+
+
+/**
+ *添加链接
+ */
+export function addLink(data) {
+	return axios({
+		url: '/outside/blogLink/add',
+		method: 'post',
+		data: data
+	})
+}
+
+/**
+ *获取链接类型
+ */
+export function getLinkType() {
+	return axios({
+		url: '/outside/blogLink/getLinkType',
+		method: 'get',
+	})
+}

--
Gitblit v1.9.1