...
This commit is contained in:
parent
a91c844117
commit
01a18c01b2
@ -590,7 +590,7 @@ class MarketController extends BaseController
|
|||||||
if (empty($nftDb)) {
|
if (empty($nftDb)) {
|
||||||
$nftDb = Nft::getNft($row['token_id']);
|
$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']));
|
// $row['detail'] = Hero::toDtoInfo(Hero::findByTokenId2($row['token_id']));
|
||||||
// if (in_array($row['info']['info']['job'], $job) == false) continue;
|
// if (in_array($row['info']['info']['job'], $job) == false) continue;
|
||||||
// if ($row['detail']['hero_lv'] < $lv) continue;
|
// if ($row['detail']['hero_lv'] < $lv) continue;
|
||||||
@ -1488,7 +1488,7 @@ class MarketController extends BaseController
|
|||||||
|
|
||||||
private function listMySelledNfts($account, $type)
|
private function listMySelledNfts($account, $type)
|
||||||
{
|
{
|
||||||
error_log('listMySelledNfts ' . $account . ' ' . $type);
|
// error_log('listMySelledNfts ' . $account . ' ' . $type);
|
||||||
|
|
||||||
$conn = myself()->_getMarketMysql('');
|
$conn = myself()->_getMarketMysql('');
|
||||||
|
|
||||||
|
@ -511,6 +511,7 @@ class ShopController extends BaseAuthedController
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ShopController::TOTAL_BUY_LIMIT: {
|
case ShopController::TOTAL_BUY_LIMIT: {
|
||||||
|
error_log("total buy limit " . $address . " " . $id . " " . $row['limit_num']);
|
||||||
$buyRecord = getXVal($buyRecordHash, $id);
|
$buyRecord = getXVal($buyRecordHash, $id);
|
||||||
$boughtTimes = $buyRecord ? $buyRecord['total_buy_times'] + 1 : 1;
|
$boughtTimes = $buyRecord ? $buyRecord['total_buy_times'] + 1 : 1;
|
||||||
if ($buyRecord && getXVal($buyRecord, 'total_buy_times', 0) >= $row['limit_num']) {
|
if ($buyRecord && getXVal($buyRecord, 'total_buy_times', 0) >= $row['limit_num']) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user