Authored by weiqingting

提交

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