Authored by weiqingting

提交

... ... @@ -115,7 +115,7 @@ module.exports = function (apiCofig) {
App.use(function (req, res, next) {
var err = new Error('Not Found');
err.status = 404;
// console.error(err.message);
console.error(err.message);
next(err);
});
/*後置中间间*/
... ...
... ... @@ -50,7 +50,8 @@ Controller.prototype.__define=function(method,router,view,apis,callback,clientmo
}
if(view){
console.log("view1");
res.render(view,local,me.client(res,view,model,clientmodel));
res.end();
// res.render(view,local,me.client(res,view,model,clientmodel));
}
return;
... ...