diff --git a/modules/problem.js b/modules/problem.js index a5d4f83..22ce870 100644 --- a/modules/problem.js +++ b/modules/problem.js @@ -822,6 +822,7 @@ app.get('/problem/:id/statistics/:type', async (req, res) => { } }); +/* app.post('/problem/:id/custom-test', app.multer.fields([{ name: 'code_upload', maxCount: 1 }, { name: 'input_file', maxCount: 1 }]), async (req, res) => { try { let id = parseInt(req.params.id); @@ -878,3 +879,4 @@ app.post('/problem/:id/custom-test', app.multer.fields([{ name: 'code_upload', m }); } }); +*/ diff --git a/views/problem.ejs b/views/problem.ejs index 6a22254..71a25fc 100644 --- a/views/problem.ejs +++ b/views/problem.ejs @@ -333,7 +333,7 @@ div[class*=ace_br] {
-
自定义测试
+
<% } %>