Authored by 姜枫

add json data

... ... @@ -7,4 +7,8 @@ router.get('/', function(req, res, next) {
res.render('detail', data);
});
router.get('/data', function(req, res, next) {
res.json(data);
});
module.exports = router;
\ No newline at end of file
... ...