Showing
1 changed file
with
0 additions
and
1 deletions
@@ -92,7 +92,6 @@ app.use(compression()); | @@ -92,7 +92,6 @@ app.use(compression()); | ||
92 | require('./doraemon/middleware/yoho-session')(app); | 92 | require('./doraemon/middleware/yoho-session')(app); |
93 | 93 | ||
94 | app.use((req, res, next) => { | 94 | app.use((req, res, next) => { |
95 | - logger.info(req.headers) | ||
96 | req.user = {}; // 全局的用户数据 | 95 | req.user = {}; // 全局的用户数据 |
97 | req.yoho = {}; // req和res绑定yoho对象,用于传递全局数据, 如req.yoho.channel等 | 96 | req.yoho = {}; // req和res绑定yoho对象,用于传递全局数据, 如req.yoho.channel等 |
98 | req.app.locals.wap = app.locals.wap; // zookeper对象赋值 | 97 | req.app.locals.wap = app.locals.wap; // zookeper对象赋值 |
-
Please register or login to post a comment