From 393c717d50fe8933e57d3014c6932b2acb750a50 Mon Sep 17 00:00:00 2001 From: whychdw <49690745@qq.com> Date: 星期一, 24 五月 2021 10:27:17 +0800 Subject: [PATCH] 提交内容 --- src/pages/test/js/api.js | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/pages/test/js/api.js b/src/pages/test/js/api.js index e63e342..7137b44 100644 --- a/src/pages/test/js/api.js +++ b/src/pages/test/js/api.js @@ -126,4 +126,19 @@ params: params, }); +} + +/** + * 妫�鏌ュ墠缃潯浠� + * @param type + * @returns {AxiosPromise} + */ +export const checkPrecondition = (type) => { + return axios({ + method: "GET", + url: "/experiment/checkPrecondition", + params: { + type: type, + } + }); } \ No newline at end of file -- Gitblit v1.9.1