req.method -->GET
req.hostname -->127.0.0.1
req.originalUrl -->/test/test/test?name=wang
req.protocol -->http
req.path -->/test/test/test
req.params -->/:test/:class -->req.params.test;req.params.class
req.query -->{'name':'wang'}
req.method -->GET
req.hostname -->127.0.0.1
req.originalUrl -->/test/test/test?name=wang
req.protocol -->http
req.path -->/test/test/test
req.params -->/:test/:class -->req.params.test;req.params.class
req.query -->{'name':'wang'}
转载于:https://www.cnblogs.com/TomAndJerry/p/9031744.html