From 47d476a33c340e49050074c447e49670120e77b2 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 25 Jan 2022 19:27:10 +0800 Subject: [PATCH] 1 --- webapp/controller/MarketController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index a60f9653..bae5536b 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -39,7 +39,7 @@ class MarketController extends BaseController { 'sold_num' => 0, 'inventory_num' => 0, 'hint' => $currBatchMeta['hint'], - 'buyed' => 0 + 'buyed' => rand() % 2 < 1 ? 0 : 1 ); $batchMetas = mt\MarketGoods::getBatchMetas($currBatchMeta['batch_id']);