Using app.param() with routes that don't use the parameter

后端 未结 0 1581
没有蜡笔的小新
没有蜡笔的小新 2021-01-01 06:11

In the express app, I am using app.param("userId", setUser), where the setUser function signature is as follows

async function setUser(req, res, nex         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题