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],
['modifytime', nowTime],
];
const {err} = await this.bcNftConn(
const {err} = await this.bcNftDbConn(
'upsert',
't_nft',
[

View File

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