2024-3-4 nodejs(post请求获取body参数, 路由) 张志明456 2024-03-04 64 阅读1分钟 post请求的时候,接收参数需要使用body-parser中间件来处理参数,否则接收到的req.body为undefined