...
This commit is contained in:
parent
caf75579b9
commit
1efab4d701
@ -161,7 +161,6 @@ class MarketController extends BaseController {
|
|||||||
$originalPrice * $goodsMeta['discount'] : $originalPrice;
|
$originalPrice * $goodsMeta['discount'] : $originalPrice;
|
||||||
|
|
||||||
$discountPrice .= MarketService::PRICE_PAD;
|
$discountPrice .= MarketService::PRICE_PAD;
|
||||||
error_log('price:' . $price . ' discountPrice:' . $discountPrice);
|
|
||||||
if (!$discountPrice || strcmp($price, $discountPrice) != 0) {
|
if (!$discountPrice || strcmp($price, $discountPrice) != 0) {
|
||||||
myself()->_rspErr(500, 'price error');
|
myself()->_rspErr(500, 'price error');
|
||||||
return;
|
return;
|
||||||
@ -643,7 +642,6 @@ class MarketController extends BaseController {
|
|||||||
break;
|
break;
|
||||||
case Nft::FRAGMENT_TYPE: {
|
case Nft::FRAGMENT_TYPE: {
|
||||||
$rows = Nft::getNft1155List($account, $type);
|
$rows = Nft::getNft1155List($account, $type);
|
||||||
error_log("fragment:".json_encode($rows)."type=".$type."account=".$account);
|
|
||||||
usort($nfts, $sortByTokenId);
|
usort($nfts, $sortByTokenId);
|
||||||
$nfts = $rows;
|
$nfts = $rows;
|
||||||
}
|
}
|
||||||
@ -793,14 +791,7 @@ class MarketController extends BaseController {
|
|||||||
$conn = myself()->_getMysql('');
|
$conn = myself()->_getMysql('');
|
||||||
|
|
||||||
$nft = Nft::findNftByOwner($account, $nft_token);
|
$nft = Nft::findNftByOwner($account, $nft_token);
|
||||||
error_log("sellMyNft ntfDetail token=".json_encode($nft));
|
|
||||||
$nftDetail = Nft::toDto($nft);
|
$nftDetail = Nft::toDto($nft);
|
||||||
error_log('sellMyNft ntfDetail null'.json_encode($nftDetail));
|
|
||||||
if ($nftDetail==null) {
|
|
||||||
// error_log('sellMyNft ntfDetail null'.$nftDetail."token=".$nft);
|
|
||||||
}
|
|
||||||
|
|
||||||
// echo json_encode($nftDetail), json_encode($nft);
|
|
||||||
$r = SqlHelper::insert(
|
$r = SqlHelper::insert(
|
||||||
$conn,
|
$conn,
|
||||||
't_market_store',
|
't_market_store',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user