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) {
|
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) {
|
if (err) {
|
||||||
this.throwError('gamedb connection err:' + err);
|
this.throwError('gamedb connection err:' + err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
const gameDbConn = conn;
|
||||||
try {
|
try {
|
||||||
try {
|
try {
|
||||||
let tblName = '';
|
let tblName = '';
|
||||||
|
@ -108,7 +108,7 @@ class BaseEventProcess {
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
['status', 0],
|
['status', 0],
|
||||||
['refresh_count', () => {
|
['!refresh_count', () => {
|
||||||
return 'refresh_count + 1';
|
return 'refresh_count + 1';
|
||||||
}],
|
}],
|
||||||
['modifytime', nowTime]
|
['modifytime', nowTime]
|
||||||
@ -119,7 +119,7 @@ class BaseEventProcess {
|
|||||||
['token_id', tokenId],
|
['token_id', tokenId],
|
||||||
['status', 0],
|
['status', 0],
|
||||||
['refresh_count', 1],
|
['refresh_count', 1],
|
||||||
['createtime', nowTime]
|
['createtime', nowTime],
|
||||||
['modifytime', nowTime]
|
['modifytime', nowTime]
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user