摘要: restfull路由如下:router.get('/:id', controller.show);mongoes代码如下:exports.show = function(req, res) { Notice.findById(req.params.id, function (err, notice... 阅读全文
posted @ 2015-06-17 16:24 yshy 阅读(5985) 评论(0) 推荐(0)