Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

關於Lesson5 的 Readme #6

Open
shad0xfox opened this issue Mar 22, 2019 · 0 comments
Open

關於Lesson5 的 Readme #6

shad0xfox opened this issue Mar 22, 2019 · 0 comments

Comments

@shad0xfox
Copy link

您好,

app.get('/order/:type/:state', fn)
app.param('type', handle1, handle2)
app.param('state', handle3)

這部分

app.param('type', handle1, handle2)

是不是要改成

app.param('type', handle1)
app.param('type', handle2)

會比較好?

因為我自己看程式碼裡面
應該沒辦法做到一次傳兩個handle
但不確定是不是我理解程式有誤
麻煩您解惑了
謝謝!

受益良多,謝謝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant