1
This commit is contained in:
parent
748a1bf92d
commit
7f03c7ef38
@ -112,12 +112,16 @@ class BaseEventProcess {
|
|||||||
return utils.compactFormatDate(new Date()) + '_' + app.getPid() + '_' + genSeqId();
|
return utils.compactFormatDate(new Date()) + '_' + app.getPid() + '_' + genSeqId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
genSecretKey() {
|
||||||
|
return utils.genUuid();
|
||||||
|
}
|
||||||
|
|
||||||
async callGameApi(params, checkCb) {
|
async callGameApi(params, checkCb) {
|
||||||
while (true) {
|
while (true) {
|
||||||
try {
|
try {
|
||||||
const nowTime = utils.getUtcTime();
|
const nowTime = utils.getUtcTime();
|
||||||
const cbUuid = this.genCbUuid();
|
const cbUuid = this.genCbUuid();
|
||||||
const secretKey = '';
|
const secretKey = this.genSecretKey();
|
||||||
{
|
{
|
||||||
params['_cb_uuid'] = cbUuid;
|
params['_cb_uuid'] = cbUuid;
|
||||||
params['_timestamp'] = nowTime;
|
params['_timestamp'] = nowTime;
|
||||||
|
2
third_party/j7
vendored
2
third_party/j7
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 98a332cf5ce4fb21ecd086997b36a4ab39b4490e
|
Subproject commit 87102455199c0f192cb26a90ecf399b25c959bd2
|
Loading…
x
Reference in New Issue
Block a user