This commit is contained in:
aozhiwei 2023-07-11 14:30:42 +08:00
parent f40f12e5d8
commit 056f01465b

View File

@ -97,14 +97,14 @@ class BaseEventProcess {
async add721NftRefresh(netId, contractAddress, contractName, tokenId) {
while (true) {
const nowTime = utils.getNowTime();
const nowTime = utils.getUtcTime();
const {err} = await this.conn.upsert
(
't_erc721_refresh',
[
['net_id', netId],
['contract_address', contractAddress],
['tokenId', tokenId],
['token_id', tokenId],
],
[
['status', 0],
@ -116,7 +116,7 @@ class BaseEventProcess {
[
['net_id', netId],
['contract_address', contractAddress],
['tokenId', tokenId],
['token_id', tokenId],
['status', 0],
['refresh_count', 1],
['createtime', nowTime]