From 1db84e2c3fee5739968c47fbd76c45c3d77e9043 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 19 Jul 2024 16:01:00 +0800 Subject: [PATCH] 1 --- webapp/controller/OutAppNftController.class.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webapp/controller/OutAppNftController.class.php b/webapp/controller/OutAppNftController.class.php index 0b1783e2..df97a43e 100644 --- a/webapp/controller/OutAppNftController.class.php +++ b/webapp/controller/OutAppNftController.class.php @@ -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); } }