Authored by weiqingting

提交

... ... @@ -13,6 +13,7 @@ function addFiles(req) {
module.exports=function(controllers){
var Iaccount=global.Register.system;
return function(err,req,res,next){
console.log("req.originalUrl:"+req.originalUrl)
if(err.status=="404"){
var method = req.method.toLowerCase();
var path = req.route?req.route.path:'';
... ...
... ... @@ -13,6 +13,7 @@ function addFiles(req) {
module.exports=function(controllers){
var Iaccount=global.Register.system;
return function(err,req,res,next){
console.log("req.originalUrl:"+req.originalUrl)
if(err.status=="404"){
var method = req.method.toLowerCase();
var path = req.route?req.route.path:'';
... ...