Commit 1f592ff7 by 宋毅

tj

parent 82e44cab
...@@ -6,7 +6,6 @@ class OplogService extends ServiceBase { ...@@ -6,7 +6,6 @@ class OplogService extends ServiceBase {
super("common", ServiceBase.getDaoName(OplogService)); super("common", ServiceBase.getDaoName(OplogService));
this.opLogUrl = settings.apiconfig.opLogUrl(); this.opLogUrl = settings.apiconfig.opLogUrl();
this.opLogEsIsAdd = settings.apiconfig.opLogEsIsAdd(); this.opLogEsIsAdd = settings.apiconfig.opLogEsIsAdd();
this.logCtl = system.getObject("service.common.oplogSve");
} }
async error(qobj) { async error(qobj) {
this.create(qobj); this.create(qobj);
...@@ -37,7 +36,7 @@ class OplogService extends ServiceBase { ...@@ -37,7 +36,7 @@ class OplogService extends ServiceBase {
this.dao.create(qobj); this.dao.create(qobj);
} catch (e) { } catch (e) {
//日志记录 //日志记录
this.logCtl.error({ this.create({
appid: qobj.appid || "", appid: qobj.appid || "",
appkey: qobj.appkey || "", appkey: qobj.appkey || "",
requestId: qobj.requestId || "", requestId: qobj.requestId || "",
......
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