1
This commit is contained in:
parent
1262e4cb76
commit
d0111af164
@ -101,11 +101,12 @@ class Activate721Nft extends BaseEventProcess {
|
||||
}
|
||||
|
||||
async updateGameDbInfo(transId, itemUniId, itemId, tokenId, tokenType) {
|
||||
const {err, gameDbConn} = await app.getDbConn(constant.GAMEDB_NAME);
|
||||
const {err, conn} = await app.getDbConn(constant.GAMEDB_NAME);
|
||||
if (err) {
|
||||
this.throwError('gamedb connection err:' + err);
|
||||
return;
|
||||
}
|
||||
const gameDbConn = conn;
|
||||
try {
|
||||
try {
|
||||
let tblName = '';
|
||||
|
@ -108,7 +108,7 @@ class BaseEventProcess {
|
||||
],
|
||||
[
|
||||
['status', 0],
|
||||
['refresh_count', () => {
|
||||
['!refresh_count', () => {
|
||||
return 'refresh_count + 1';
|
||||
}],
|
||||
['modifytime', nowTime]
|
||||
@ -119,7 +119,7 @@ class BaseEventProcess {
|
||||
['token_id', tokenId],
|
||||
['status', 0],
|
||||
['refresh_count', 1],
|
||||
['createtime', nowTime]
|
||||
['createtime', nowTime],
|
||||
['modifytime', nowTime]
|
||||
]
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user