This commit is contained in:
aozhiwei 2024-07-02 17:04:37 +08:00
parent af5e67ae90
commit c9a33c3f52

View File

@ -86,7 +86,7 @@ SELECT * FROM t_nft WHERE idx > %d AND last_refresh_meta_time = 0 LIMIT 200`,
func () int64 {
this.doRefresh()
this.batchNfts = []*nftInfo{}
return 60
return 60 + 10
},
this.repairHeroMeta)
}
@ -100,7 +100,9 @@ func (this* refreshMeta) repairHeroMeta(ds *f5.DataSet) bool {
nft.netId = q5.ToInt32(ds.GetByName("net_id"))
nft.contractAddress = ds.GetByName("contract_address")
nft.tokenId = ds.GetByName("token_id")
q5.AppendSlice(&this.batchNfts, nft)
if nft.tokenId == "6240619010000001" {
q5.AppendSlice(&this.batchNfts, nft)
}
return true
}