This commit is contained in:
songliang 2023-01-09 17:46:42 +08:00
parent 535b31ccac
commit a05f062689

View File

@ -828,8 +828,12 @@ class MarketController extends BaseController {
$row = $rows[$x%$page_size];
$nftDb = Nft::getNft($row['token_id']);
if (!$nftDb) {
myself()->_rspErr(1, 'nft not exists');
return;
$nftDb = Nft::findNftByOwner($account, $row['token_id']);
// 0x768b5faed6dc69816f33377d214ffaf00dcdd0cf
if (!$nftDb) {
myself()->_rspErr(1, 'nft not exists');
return;
}
}
$nft = Nft::toDto($nftDb);
$row['info'] = $nft;