From 54f1bd8d8263c61895a0598d92c3a6df6d45d0e7 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Tue, 27 Oct 2020 21:20:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=A9=E9=98=B5=E8=AF=A6=E6=83=85=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/project/prepare.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/routes/project/prepare.js b/routes/project/prepare.js index a72579c..3976300 100644 --- a/routes/project/prepare.js +++ b/routes/project/prepare.js @@ -187,4 +187,14 @@ route.addContextMenu(router,'matrix/:id/possibility','风险严重程度') route.addContextMenu(router,'matrix/:id/level','风险严重程度') +router.delete('/matrix/:id', function (req, res, next) { + var data=mock.ok('矩阵删除成功') + res.json(data) +}) + +router.post('/matrix', function (req, res, next) { + var data=mock.ok('矩阵拷贝成功') + res.json(data) +}) + module.exports=router \ No newline at end of file