This commit is contained in:
aozhiwei 2024-06-16 14:54:10 +08:00
parent 354154ce1b
commit 46f258bf56

View File

@ -21,11 +21,13 @@ func (this *cacheMgr) UnInit() {
func (this *cacheMgr) GetNfts(nfts []*common.NftDto) {
{
nfts = []*common.NftDto{}
missNfts := []*common.NftDto{}
for _, val := range nfts {
this.fastGetNft(val)
if val.NftCache != nil {
if val.NftCache == nil {
if len(missNfts) < 20 {
q5.AppendSlice(&missNfts, val)
}
}
}
}