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

View File

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