1
This commit is contained in:
parent
16bb6b64fb
commit
3462b7542e
@ -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',
|
||||||
[
|
[
|
||||||
|
@ -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',
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user