阅读背景:

如何将连接中间件中的变量传递到app.get-action中?

来源:互联网 

I would like to create kind of a before filter which allows me to make the current user available in all actions. The followint approach works well and I didn't even need to declare a global variable:




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: