This commit is contained in:
aozhiwei 2024-07-19 16:01:00 +08:00
parent 18d75d5dab
commit 1db84e2c3f

View File

@ -288,9 +288,14 @@ class OutAppNftController extends BaseController {
'type' => 0,
'image' => '',
'on_sale' => $onSale,
'detail' => array()
'detail' => array(),
'last_lock_time' => 0,
);
if (!empty($nftDb)) {
if ($nftDb['owner_address'] == LOCK_CONTRACT_ADDRESS ||
$nftDb['owner_address'] == ETH_LOCK_CONTRACT_ADDRESS) {
$info['last_lock_time'] = $nftDb['last_lock_time'];
}
$this->internalGetNftDetail($nftDb, $info);
}
}