From 7728f2073adb4f4c05f587588ec712430ddead81 Mon Sep 17 00:00:00 2001 From: daihh Date: Sat, 31 Dec 2022 16:45:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8A=A0=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/phase2/yearMedal.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 api/phase2/yearMedal.js diff --git a/api/phase2/yearMedal.js b/api/phase2/yearMedal.js new file mode 100644 index 0000000..e5e280d --- /dev/null +++ b/api/phase2/yearMedal.js @@ -0,0 +1,20 @@ +/**文章模块的相关处理*/ +// import ajax from '@/utils/xajax.js' +import config from '@/config/index.js' +import ajax from '../ajax' +const baseURL = config.statApiBaseUrl; + +const has2023 = function() { + return ajax.get(baseURL,'/xboe/m/stat/year/medal/has'); +} + +const save2023 = function() { + return ajax.get(baseURL,'/xboe/m/stat/year/medal/save'); +} + + + +export default { + has2023, + save2023 +}