var express = require('express');
var app = new express();
//http://localhost:3000/article?id=1
app.get('/article',function(req, res) {
var aId = req.query("id");
}
报错 TypeError: req.query is not a function
使用req.query要导入其他?
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
认证高级PHP讲师