Commit 394920a6 by Sxy

fix: 写log

parent 9ac6af0f
...@@ -18,7 +18,7 @@ class LogClient { ...@@ -18,7 +18,7 @@ class LogClient {
req.params.param = pobj req.params.param = pobj
if (!["findSystemMsgCount", "findUnreadCount"].includes(req.params && req.params.method || '')) { if (!["findSystemMsgCount", "findUnreadCount"].includes(req.params && req.params.method || '')) {
//第三个字段应该存公司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, "_" + "center-manage" + (pobj.company_id || '') + "_", 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