Commit c5183eb9 by v_vjyjiang

log

parent afc0fb54
...@@ -10,6 +10,12 @@ class LogClient { ...@@ -10,6 +10,12 @@ class LogClient {
var u = uuid.replace(/\-/g, ""); var u = uuid.replace(/\-/g, "");
return u; return u;
} }
/**
*
* @param {*} pobj json对象
* @param {*} rtninfo 正确返回{status:0},错误可null
* @param {*} errinfo 异常
*/
async log (pobj, rtninfo, errinfo) { async log (pobj, rtninfo, errinfo) {
rtninfo.requestId = this.getUUID() rtninfo.requestId = this.getUUID()
//第三个字段应该存公司id{status:0} //第三个字段应该存公司id{status:0}
......
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