From 8ec9c517c58b70918f2d72f2bfa6ab4b0a4145f9 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 19 Aug 2022 18:03:39 +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