Commit 08dc3912 by Sxy

add log

parent 7f197cc4
...@@ -108,6 +108,7 @@ class CtlBase { ...@@ -108,6 +108,7 @@ class CtlBase {
// this.session={}; // this.session={};
// } // }
//req.session=redis缓存的上下文对象 //req.session=redis缓存的上下文对象
console.log(`调用方法为 ----- ${methodname}`);
var rtn = await this[methodname](pobj, query, req); var rtn = await this[methodname](pobj, query, req);
this.logClient.log(pobj, req, rtn) this.logClient.log(pobj, req, rtn)
return rtn; return rtn;
......
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