1
This commit is contained in:
parent
e342cfa5cd
commit
d33ce068b0
@ -120,6 +120,8 @@ func (this* refreshMeta) doRefresh() {
|
|||||||
for _, v := range this.batchNfts {
|
for _, v := range this.batchNfts {
|
||||||
if lastContractAddress == "" {
|
if lastContractAddress == "" {
|
||||||
lastContractAddress = v.contractAddress
|
lastContractAddress = v.contractAddress
|
||||||
|
} else if lastContractAddress != v.contractAddress {
|
||||||
|
|
||||||
}
|
}
|
||||||
f5.GetHttpCliMgr().SendGoStyleRequest(
|
f5.GetHttpCliMgr().SendGoStyleRequest(
|
||||||
mt.Table.Config.GetById(0).GetGameapiUrl() + "/webapp/index.php",
|
mt.Table.Config.GetById(0).GetGameapiUrl() + "/webapp/index.php",
|
||||||
@ -151,6 +153,7 @@ func (this* refreshMeta) doRefresh() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
if len(nftMetas) >= 200 {
|
if len(nftMetas) >= 200 {
|
||||||
|
this.internalRefresh(lastContractAddress, nftMetas)
|
||||||
lastContractAddress = ""
|
lastContractAddress = ""
|
||||||
nftMetas = []*nftMeta{}
|
nftMetas = []*nftMeta{}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user