...
This commit is contained in:
parent
b5642b2b70
commit
caf75579b9
@ -643,6 +643,7 @@ class MarketController extends BaseController {
|
||||
break;
|
||||
case Nft::FRAGMENT_TYPE: {
|
||||
$rows = Nft::getNft1155List($account, $type);
|
||||
error_log("fragment:".json_encode($rows)."type=".$type."account=".$account);
|
||||
usort($nfts, $sortByTokenId);
|
||||
$nfts = $rows;
|
||||
}
|
||||
@ -691,6 +692,7 @@ class MarketController extends BaseController {
|
||||
}
|
||||
|
||||
$nfts = array();
|
||||
|
||||
for ($x = $start; $x < $page_end; $x++) {
|
||||
$row = $rows[$x];
|
||||
$nftDb = Nft::findNftByOwner($row['owner_address'], $row['token_id']);
|
||||
|
@ -124,7 +124,7 @@ class Nft extends BaseModel {
|
||||
$sql = "select * from t_nft1155 where owner_address=:owner_address and token_id>10000000 and balance>0";
|
||||
};
|
||||
break;
|
||||
case 4:{
|
||||
case 5:{
|
||||
$sql = "select * from t_nft1155 where owner_address=:owner_address and token_id<10000000 and balance>0";
|
||||
};
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user