This commit is contained in:
aozhiwei 2023-07-11 17:22:31 +08:00
parent 16bb6b64fb
commit 3462b7542e
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ class Activate721Nft extends BaseEventProcess {
['createtime', nowTime], ['createtime', nowTime],
['modifytime', nowTime], ['modifytime', nowTime],
]; ];
const {err} = await this.bcNftConn( const {err} = await this.bcNftDbConn(
'upsert', 'upsert',
't_nft', 't_nft',
[ [

View File

@ -83,7 +83,7 @@ class BaseEventProcess {
async updateEventDb(fields) { async updateEventDb(fields) {
const logHead = this.genLogHead('updateEventDb'); const logHead = this.genLogHead('updateEventDb');
while (true) { while (true) {
const {err} = await this.bcEventConn( const {err} = await this.bcEventDbConn(
'update', 'update',
this.eventProc.getTableName(), this.eventProc.getTableName(),
[ [
@ -121,7 +121,7 @@ class BaseEventProcess {
async add721NftRefresh(netId, contractAddress, contractName, tokenId) { async add721NftRefresh(netId, contractAddress, contractName, tokenId) {
while (true) { while (true) {
const nowTime = utils.getUtcTime(); const nowTime = utils.getUtcTime();
const {err} = await this.bcEventConn( const {err} = await this.bcEventDbConn(
'upsert', 'upsert',
't_erc721_refresh', 't_erc721_refresh',
[ [