This commit is contained in:
aozhiwei 2023-08-07 10:07:02 +08:00
parent b17defa171
commit 386b51799b
2 changed files with 2 additions and 1 deletions

View File

@ -1424,6 +1424,7 @@ CREATE TABLE `t_market` (
`update_time` int(11) COMMENT 'update_time', `update_time` int(11) COMMENT 'update_time',
`status` int(11) NOT NULL DEFAULT '0' COMMENT 'status', `status` int(11) NOT NULL DEFAULT '0' COMMENT 'status',
`activated` int(11) NOT NULL DEFAULT '0' COMMENT 'activated', `activated` int(11) NOT NULL DEFAULT '0' COMMENT 'activated',
`selltime` int(11) COMMENT 'selltime',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`), PRIMARY KEY (`idx`),

View File

@ -206,7 +206,7 @@ class MarketController extends BaseAuthedController {
'seller' => $row['seller'], 'seller' => $row['seller'],
'currency' => $row['currency'], 'currency' => $row['currency'],
'price' => $row['update_price'] ? $row['update_price'] : $row['price'], 'price' => $row['update_price'] ? $row['update_price'] : $row['price'],
'selltime' => $row['createtime'], 'selltime' => $row['selltime'],
'updatetime' => $row['createtime'], 'updatetime' => $row['createtime'],
); );
$nftDb = Nft::getNft($row['token_id']); $nftDb = Nft::getNft($row['token_id']);