Authored by weiqingting

提交

... ... @@ -115,7 +115,7 @@ module.exports = function (apiCofig) {
var err = new Error('Not Found');
err.status = 404;
// console.error(err.message);
res.end();
next(err);
});
/*後置中间间*/
apiCofig.useToOuter && apiCofig.useToOuter(App, ContRegisters);
... ...
... ... @@ -74,7 +74,7 @@ var apiCofig = {
app.use(session(options));
},
useToOuter:function(app,controllers){
app.use(grayroute(controllers));
//app.use(grayroute(controllers));
}
};
... ...