1
This commit is contained in:
parent
52053abf56
commit
748a1bf92d
@ -8,6 +8,11 @@ const constant = require('common/constant');
|
|||||||
const dbpool = require('common/dbpool');
|
const dbpool = require('common/dbpool');
|
||||||
const metaFactory = require('../../../metadata/factory');
|
const metaFactory = require('../../../metadata/factory');
|
||||||
|
|
||||||
|
let gSeqId = 1;
|
||||||
|
function genSeqId() {
|
||||||
|
return ++gSeqId;
|
||||||
|
}
|
||||||
|
|
||||||
class BaseEventProcess {
|
class BaseEventProcess {
|
||||||
|
|
||||||
constructor(proc, conn, eventDb) {
|
constructor(proc, conn, eventDb) {
|
||||||
@ -104,7 +109,7 @@ class BaseEventProcess {
|
|||||||
}
|
}
|
||||||
|
|
||||||
genCbUuid() {
|
genCbUuid() {
|
||||||
|
return utils.compactFormatDate(new Date()) + '_' + app.getPid() + '_' + genSeqId();
|
||||||
}
|
}
|
||||||
|
|
||||||
async callGameApi(params, checkCb) {
|
async callGameApi(params, checkCb) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user