Commit 9aad1997 by 宋毅

tj

parent 04b75a85
...@@ -36,7 +36,7 @@ class OplogService extends ServiceBase { ...@@ -36,7 +36,7 @@ class OplogService extends ServiceBase {
qobj.optitle = (new Date()).Format("yyyy-MM-dd hh:mm:ss") + ":" + qobj.optitle; qobj.optitle = (new Date()).Format("yyyy-MM-dd hh:mm:ss") + ":" + qobj.optitle;
if (this.opLogEsIsAdd == 1) { if (this.opLogEsIsAdd == 1) {
qobj.content = qobj.content.replace("field list", "字段列表") qobj.content = qobj.content ? qobj.content.replace("field list", "字段列表") : "";
qobj.created_at = (new Date()).getTime(); qobj.created_at = (new Date()).getTime();
//往Es中写入日志 //往Es中写入日志
var addEsData = JSON.stringify(qobj); var addEsData = JSON.stringify(qobj);
......
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