From 386b51799b8dfb2ae4be276e5641598423915a82 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 7 Aug 2023 10:07:02 +0800 Subject: [PATCH] 1 --- sql/gamedb.sql | 1 + webapp/controller/MarketController.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 0c59a574..70d0d6e7 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -1424,6 +1424,7 @@ CREATE TABLE `t_market` ( `update_time` int(11) COMMENT 'update_time', `status` int(11) NOT NULL DEFAULT '0' COMMENT 'status', `activated` int(11) NOT NULL DEFAULT '0' COMMENT 'activated', + `selltime` int(11) COMMENT 'selltime', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', PRIMARY KEY (`idx`), diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 6bd07519..05d72edf 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -206,7 +206,7 @@ class MarketController extends BaseAuthedController { 'seller' => $row['seller'], 'currency' => $row['currency'], 'price' => $row['update_price'] ? $row['update_price'] : $row['price'], - 'selltime' => $row['createtime'], + 'selltime' => $row['selltime'], 'updatetime' => $row['createtime'], ); $nftDb = Nft::getNft($row['token_id']);