Commit f667829e by Sxy

fix: 写入日志

parent c48fd3c7
...@@ -14,7 +14,7 @@ class LogClient { ...@@ -14,7 +14,7 @@ class LogClient {
rtninfo.requestId = this.getUUID() rtninfo.requestId = this.getUUID()
req.params.param = pobj req.params.param = pobj
//第三个字段应该存公司id //第三个字段应该存公司id
system.execLogs(settings.appname + "_" + req.xctx.codetitle, req.params, "_" + pobj.company_id + "_", rtninfo, errinfo).then(res => { system.execLogs(settings.appname + "_" + req.xctx.codetitle, req.params, "_" + (pobj.company_id || 'ic-deliver') + "_", rtninfo, errinfo).then(res => {
if (res && res.status == 1) { if (res && res.status == 1) {
console.log("log.....success") console.log("log.....success")
} else { } else {
......
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