From 80476fae71f08bf4408c7509eff254031a4eeac6 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 24 Aug 2022 18:47:09 +0800 Subject: [PATCH] 路由修正,常量提取 --- src/api/blogStatistics.js | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/api/blogStatistics.js b/src/api/blogStatistics.js index 6343018..0bf7414 100644 --- a/src/api/blogStatistics.js +++ b/src/api/blogStatistics.js @@ -20,3 +20,18 @@ params: parameter }) } + +export function archive() { + return axios({ + url: '/outside/blog/archive', + method: 'get', + }) +} + +export function archiveGroup(parameter) { + return axios({ + url: '/outside/blog/archiveGroup', + method: 'get', + params: parameter + }) +} -- Gitblit v1.9.1