Commit 1f592ff7 by 宋毅

tj

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