diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 9538e901..5b1956e3 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -590,7 +590,7 @@ class MarketController extends BaseController if (empty($nftDb)) { $nftDb = Nft::getNft($row['token_id']); } - $row['info'] = Nft::toDto($nftDb); + // $row['info'] = Nft::toDto($nftDb); // $row['detail'] = Hero::toDtoInfo(Hero::findByTokenId2($row['token_id'])); // if (in_array($row['info']['info']['job'], $job) == false) continue; // if ($row['detail']['hero_lv'] < $lv) continue; @@ -1488,7 +1488,7 @@ class MarketController extends BaseController private function listMySelledNfts($account, $type) { - error_log('listMySelledNfts ' . $account . ' ' . $type); + // error_log('listMySelledNfts ' . $account . ' ' . $type); $conn = myself()->_getMarketMysql(''); diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 12c501fe..2b9f5f89 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -511,6 +511,7 @@ class ShopController extends BaseAuthedController } break; case ShopController::TOTAL_BUY_LIMIT: { + error_log("total buy limit " . $address . " " . $id . " " . $row['limit_num']); $buyRecord = getXVal($buyRecordHash, $id); $boughtTimes = $buyRecord ? $buyRecord['total_buy_times'] + 1 : 1; if ($buyRecord && getXVal($buyRecord, 'total_buy_times', 0) >= $row['limit_num']) {