📌  相关文章
📜  typeerror 无法读取未定义 nodejs 的属性“push” - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:41.879000             🧑  作者: Mango

代码示例2
const express = require('express');
const routerd = express.Router();
const Ninja = require('./models/ninja');

routerd.delete('/ninja:/id', function(req, res, next){
    console.log(req.params.id);
    res.send({type : 'DELETE'});
}).catch(next);

module.exports = routerd;