diff --git a/routes/index.js b/routes/index.js index d2dd693..e4a5476 100644 --- a/routes/index.js +++ b/routes/index.js @@ -21,8 +21,9 @@ router.post('/server', function(req, res, next) { }); //部署完毕事件 -router.get('/server', function(req, res, next) { - res.json({message:'服务端部署成功'}) +router.get('/finsh', function(req, res, next) { + + res.json({message:`仓库代码${req.query.name}部署成功`}) }); module.exports = router; \ No newline at end of file