Commit 2d1d3faf authored by 张淼's avatar 张淼

1

parent 92e6d3f8
......@@ -65,7 +65,7 @@ module.exports = function(app, config) {
});
//设置创建用户中间件
app.use(forumUser.identifyUser());
app.use('/v1/forum/*',forumUser.identifyUser());
var controllers = glob.sync(config.root + '/app/controllers/**/*.js');
controllers.forEach(function(controller) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment