📌  相关文章
📜  无法读取未定义的属性(读取“推送”)反应 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:01:47.648000             🧑  作者: 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;