param & query & body之间的不同

req.param获取pathinfo中参数 /api/users/{id}
req.query获取查询参数 /api/users?name=wwx
req.body获取form提交参数

猜你喜欢

转载自blog.csdn.net/zhizhengguan/article/details/89176854