From 51efc63fb56ac2708089ca4e5d541432d08715ee Mon Sep 17 00:00:00 2001 From: 86182 Date: Fri, 19 Aug 2022 10:46:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E6=88=90=E7=BB=A9=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/test.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/api/modules/test.js b/src/api/modules/test.js index fea0bce1..1dcbb141 100644 --- a/src/api/modules/test.js +++ b/src/api/modules/test.js @@ -41,15 +41,25 @@ const pulish = function(id, publish) { if (!publish) { flag = publish; } - + return ajax.post('/xboe/m/exam/test/publish?id=' + id + '&publish=' + flag); } +/** + *@parma{ + * testId 考试id + *} + */ +const exports=function (query){ + return ajax.post('/xboe/m/exam/alone/answer/export',query); +} + export default { detail, update, del, save, querylist, - pulish + pulish, + exports }