This commit is contained in:
aozhiwei 2023-07-11 16:28:51 +08:00
parent 3b037c7c0b
commit e7294a5465

View File

@ -60,7 +60,8 @@ class Activate721Nft extends BaseEventProcess {
return; return;
} }
await this.updateGameDbInfo(transId, itemUniId, itemId, tokenId, tokenType); await this.updateGameDbInfo(transId, itemUniId, itemId, tokenId, tokenType);
const {err, row} = await this.conn.ormSelectOne( const {err, row} = await this.bcNftConn(
'ormSelectOne',
't_nft', 't_nft',
[ [
['token_id', tokenId], ['token_id', tokenId],
@ -84,7 +85,8 @@ class Activate721Nft extends BaseEventProcess {
['createtime', nowTime], ['createtime', nowTime],
['modifytime', nowTime], ['modifytime', nowTime],
]; ];
const {err} = await this.conn.insert( const {err} = await this.bcNftConn(
'insert',
't_nft', 't_nft',
fieldList fieldList
); );