This commit is contained in:
aozhiwei 2023-07-10 20:44:21 +08:00
parent bb0ffedecd
commit 50330479b7
2 changed files with 11 additions and 5 deletions

View File

@ -216,7 +216,7 @@ class DbEventProcess extends BaseService {
if (!this.eventHandle) { if (!this.eventHandle) {
return false; return false;
} }
const handle = eventsFactory.createHash(this); const handle = eventsFactory.createHandle(this, this.eventHandle);
await handle.start(); await handle.start();
return true; return true;
} }

View File

@ -1,4 +1,10 @@
const app = require('j7/app'); function getEventHandle() {
const utils = require('j7/utils');
const bcutils = require('j7/bcutils'); }
const log = require('j7/log');
function createEventHandle(eventProc, eventHandle) {
}
exports.getEventHandle = getEventHandle;
exports.createEventHandle = createEventHandle;