This commit is contained in:
aozhiwei 2023-07-14 11:39:27 +08:00
parent 52053abf56
commit 748a1bf92d

View File

@ -8,6 +8,11 @@ const constant = require('common/constant');
const dbpool = require('common/dbpool');
const metaFactory = require('../../../metadata/factory');
let gSeqId = 1;
function genSeqId() {
return ++gSeqId;
}
class BaseEventProcess {
constructor(proc, conn, eventDb) {
@ -104,7 +109,7 @@ class BaseEventProcess {
}
genCbUuid() {
return utils.compactFormatDate(new Date()) + '_' + app.getPid() + '_' + genSeqId();
}
async callGameApi(params, checkCb) {