跳到主要内容
CNode

小虫子:关于next()的问题

社区
Ddcminicode发布于 14 年前最后回复 14 年前
242990

在学习路由控制,使用next跳转的下一条路由,但是运营报错,不知道为什么。。。。直接上图: enter image description here

enter image description here

查看回复

回复 (2)

D
dcminicode#214 年前
引用 hylinapp.get('/user/:username',function(req,res, next ){ ... })

呃。。。。。。。好尴尬。。。谢谢

H
hylin#114 年前

app.get('/user/:username',function(req,res,next){ ... })

参与回复

登录后即可参与回复。登录