From 7319260f31c9a593418ff17b1ca42e0822c3c4eb Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 10 Jan 2024 22:07:04 +0800 Subject: [PATCH] 改正授权码md5加密 bgm链接修改 允许后置日期提交 简介提交支持 --- 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