From 94c47d1ad5ba4e459b03a96f9acf50b3e3a658b8 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 2 Jul 2024 19:52:32 +0800 Subject: [PATCH] 1 --- webapp/controller/OutAppNftController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/OutAppNftController.class.php b/webapp/controller/OutAppNftController.class.php index 9d5e03b8..038b402a 100644 --- a/webapp/controller/OutAppNftController.class.php +++ b/webapp/controller/OutAppNftController.class.php @@ -165,6 +165,7 @@ class OutAppNftController extends BaseController { $info['name'] = $heroMeta['name']; $info['description'] = $NftMeta['desc']; $info['image'] = "https://res2.counterfire.games/nft/meta/".$heroDb['hero_id'].'_'.$heroDb['quality'].".gif"; + /* array_push($info['attributes'],array( "trait_type" => "quality", "value" => intval($heroDb['quality']), @@ -180,7 +181,7 @@ class OutAppNftController extends BaseController { array_push($info['attributes'],array( "trait_type" => "lucky", "value" => floor($lucky * (1+$lucky_rate)), - )); + ));*/ if ($this->isCloseBox()) { $this->fillBoxMeta($info); }