This commit is contained in:
songliang 2023-01-11 18:54:56 +08:00
parent d54dab2ed5
commit 4a702773fc

View File

@ -831,8 +831,11 @@ class MarketController extends BaseController {
$nftDb = Nft::findNftByOwner($account, $row['token_id']); $nftDb = Nft::findNftByOwner($account, $row['token_id']);
// 0x768b5faed6dc69816f33377d214ffaf00dcdd0cf // 0x768b5faed6dc69816f33377d214ffaf00dcdd0cf
if (!$nftDb) { if (!$nftDb) {
myself()->_rspErr(1, 'nft not exists'); $nftDb = Nft::findNftByOwner('0xfc628dd79137395f3c9744e33b1c5de554d94882', $row['token_id']);
return; if (!$nftDb) {
myself()->_rspErr(1, 'nft not exists');
return;
}
} }
} }
$nft = Nft::toDto($nftDb); $nft = Nft::toDto($nftDb);