...
This commit is contained in:
parent
48b05bb88a
commit
ece5b6b66e
@ -558,8 +558,13 @@ class MarketController extends BaseController {
|
||||
't_market_store'
|
||||
);
|
||||
|
||||
$total = count($rows);
|
||||
$page_end = $start + $page_size;
|
||||
if ($page_end > $total)
|
||||
$page_end = $total;
|
||||
$nfts = array();
|
||||
foreach ($rows as $row) {
|
||||
for ($x = $start; $x < $page_end; $x++) {
|
||||
$row = $rows[$x];
|
||||
$nftDb = Nft::getNft($row['token_id']);
|
||||
if (!$nftDb) {
|
||||
myself()->_rspErr(1, 'nft not exists');
|
||||
|
Loading…
x
Reference in New Issue
Block a user