This commit is contained in:
songliang 2022-12-16 16:46:42 +08:00
parent c92183705b
commit 7b924ffac3

View File

@ -655,6 +655,9 @@ class MarketController extends BaseController {
$row['detail'] = $this->getNftGameData($nftDb); $row['detail'] = $this->getNftGameData($nftDb);
if (!in_array($row['detail']['type'], $job)) if (!in_array($row['detail']['type'], $job))
continue; continue;
if (count($search)>0) {
if (!(in_array($row['detail']['name'], $search))) continue;
}
array_push($nfts, $row); array_push($nfts, $row);
} }
usort($nfts, $sortByTokenId); usort($nfts, $sortByTokenId);